mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 21:52:05 +08:00
Replace harmless single-line pair assigns by multi-line, need more newlines!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user