Replace harmless single-line pair assigns by multi-line, need more newlines!

This commit is contained in:
mittorn 2023-12-16 21:25:29 +03:00 committed by Alibek Omarov
parent 93e5faa26b
commit 892c735c86
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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();

View File

@ -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;
}
/*