Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
ddb467ce
Commit
ddb467ce
authored
Feb 29, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indent properly
parent
518da16b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vlc-android/jni/libvlcjni.c
vlc-android/jni/libvlcjni.c
+4
-4
No files found.
vlc-android/jni/libvlcjni.c
View file @
ddb467ce
...
...
@@ -320,8 +320,8 @@ void setInt(JNIEnv *env, jobject item, const char* field, int value)
/* Look for the instance field s in cls */
fieldId
=
(
*
env
)
->
GetFieldID
(
env
,
cls
,
field
,
"I"
);
if
(
fieldId
==
NULL
)
return
;
if
(
fieldId
==
NULL
)
return
;
(
*
env
)
->
SetIntField
(
env
,
item
,
fieldId
,
value
);
}
...
...
@@ -337,8 +337,8 @@ void setString(JNIEnv *env, jobject item, const char* field, const char* text)
/* Look for the instance field s in cls */
fieldId
=
(
*
env
)
->
GetFieldID
(
env
,
cls
,
field
,
"Ljava/lang/String;"
);
if
(
fieldId
==
NULL
)
return
;
if
(
fieldId
==
NULL
)
return
;
/* Create a new string and overwrite the instance field */
jstr
=
(
*
env
)
->
NewStringUTF
(
env
,
text
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment