mirror of https://github.com/FWGS/xash3d-fwgs
Replace harmless single-line pair assigns by multi-line, need more newlines!
This commit is contained in:
parent
93e5faa26b
commit
892c735c86
|
@ -22,7 +22,6 @@ GNU General Public License for more details.
|
|||
#define VIDEO_FBDEV 3
|
||||
#define VIDEO_DOS 4
|
||||
|
||||
|
||||
// audio backends (XASH_SOUND)
|
||||
#define SOUND_NULL 0
|
||||
#define SOUND_SDL 1
|
||||
|
@ -49,7 +48,6 @@ GNU General Public License for more details.
|
|||
#define MSGBOX_WIN32 3
|
||||
#define MSGBOX_NSWITCH 4
|
||||
|
||||
|
||||
// library loading (XASH_LIB)
|
||||
#define LIB_NULL 0
|
||||
#define LIB_POSIX 1
|
||||
|
|
|
@ -324,7 +324,8 @@ DECLARE_JNI_INTERFACE( void, onNativeResize, jint width, jint height )
|
|||
if( !width || !height )
|
||||
return;
|
||||
|
||||
jni.width=width, jni.height=height;
|
||||
jni.width = width;
|
||||
jni.height = height;
|
||||
|
||||
// alloc update event to change screen size
|
||||
event = Android_AllocEvent();
|
||||
|
|
|
@ -90,7 +90,8 @@ Resolution got from last resize event
|
|||
*/
|
||||
static void Android_GetScreenRes( int *width, int *height )
|
||||
{
|
||||
*width=jni.width, *height=jni.height;
|
||||
*width = jni.width;
|
||||
*height = jni.height;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue