Branimir Karadžić 9 years ago
parent
commit
2667f1ac82
2 changed files with 7 additions and 3 deletions
  1. 4 0
      3rdparty/.editorconfig
  2. 3 3
      3rdparty/ocornut-imgui/imgui_user.inl

+ 4 - 0
3rdparty/.editorconfig

@@ -20,6 +20,10 @@ indent_size  = 4
 indent_style = space
 indent_style = space
 indent_size  = 4
 indent_size  = 4
 
 
+[ocornut-imgui/*.inl]
+indent_style = space
+indent_size  = 4
+
 [pvrtc/*]
 [pvrtc/*]
 indent_style = space
 indent_style = space
 indent_size  = 4
 indent_size  = 4

+ 3 - 3
3rdparty/ocornut-imgui/imgui_user.inl

@@ -9,7 +9,7 @@ namespace ImGui
         : Ptr(NULL)
         : Ptr(NULL)
     {
     {
         if (NULL != rhs.Ptr
         if (NULL != rhs.Ptr
-            && 0 != strcmp(rhs.Ptr, ""))
+        &&  0 != strcmp(rhs.Ptr, ""))
         {
         {
             Ptr = ImStrdup(rhs.Ptr);
             Ptr = ImStrdup(rhs.Ptr);
         }
         }
@@ -19,7 +19,7 @@ namespace ImGui
         : Ptr(NULL)
         : Ptr(NULL)
     {
     {
         if (NULL != rhs
         if (NULL != rhs
-            && 0 != strcmp(rhs, ""))
+        &&  0 != strcmp(rhs, ""))
         {
         {
             Ptr = ImStrdup(rhs);
             Ptr = ImStrdup(rhs);
         }
         }
@@ -47,7 +47,7 @@ namespace ImGui
             Clear();
             Clear();
 
 
             if (NULL != rhs
             if (NULL != rhs
-                && 0 != strcmp(rhs, ""))
+            &&  0 != strcmp(rhs, ""))
             {
             {
                 Ptr = ImStrdup(rhs);
                 Ptr = ImStrdup(rhs);
             }
             }