diff --git a/common/backends.h b/common/backends.h index 38e05f5e..3040eb19 100644 --- a/common/backends.h +++ b/common/backends.h @@ -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 diff --git a/engine/platform/android/android_nosdl.c b/engine/platform/android/android_nosdl.c index 3f4d1692..45b9440d 100644 --- a/engine/platform/android/android_nosdl.c +++ b/engine/platform/android/android_nosdl.c @@ -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(); diff --git a/engine/platform/android/vid_android.c b/engine/platform/android/vid_android.c index f619c403..7ccf6959 100644 --- a/engine/platform/android/vid_android.c +++ b/engine/platform/android/vid_android.c @@ -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; } /*