diff ios/dw.m @ 2542:bb75e64e6138

Android: Implement dw_screen_* and dw_environment_query(). Minor code cleanup in dwtest and ios.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 13 May 2021 07:43:31 +0000
parents 2ee4df2c50bf
children 97b30df25fd1
line wrap: on
line diff
--- a/ios/dw.m	Wed May 12 23:28:59 2021 +0000
+++ b/ios/dw.m	Thu May 13 07:43:31 2021 +0000
@@ -8942,7 +8942,7 @@
 {
     NSObject *object = handle;
 
-    if([ object isKindOfClass:[ UIWindow class ] ])
+    if([object isKindOfClass:[UIWindow class]])
     {
         UIWindow *window = handle;
         CGRect rect = [window frame];
@@ -8956,7 +8956,7 @@
             *height = rect.size.height;
         return;
     }
-    else if([ object isKindOfClass:[ UIControl class ] ])
+    else if([object isKindOfClass:[UIControl class]])
     {
         UIControl *control = handle;
         CGRect rect = [control frame];
@@ -9098,7 +9098,7 @@
 
     strncpy(env->buildDate, __DATE__, sizeof(env->buildDate)-1);
     strncpy(env->buildTime, __TIME__, sizeof(env->buildTime)-1);
-   strncpy(env->htmlEngine, "WEBKIT", sizeof(env->htmlEngine)-1);
+    strncpy(env->htmlEngine, "WEBKIT", sizeof(env->htmlEngine)-1);
     env->DWMajorVersion = DW_MAJOR_VERSION;
     env->DWMinorVersion = DW_MINOR_VERSION;
 #ifdef VER_REV