white space changes
authorHolger Schemel <info@artsoft.org>
Sat, 10 Feb 2024 20:07:19 +0000 (21:07 +0100)
committerHolger Schemel <info@artsoft.org>
Sun, 18 Feb 2024 14:57:40 +0000 (15:57 +0100)
src/init.c
src/libgame/base64.c
src/libgame/gadgets.c

index 9d3fa544c7407fa80547811443b2fd241011812f..1591f68843ba75db4316a2d8ef33453653bb6508 100644 (file)
@@ -5028,7 +5028,7 @@ static void InitGlobal(void)
 
     element_info[i].token_name = element_name_info[i].token_name;
     element_info[i].class_name = element_name_info[i].class_name;
-    element_info[i].editor_description= element_name_info[i].editor_description;
+    element_info[i].editor_description = element_name_info[i].editor_description;
   }
 
   for (i = 0; i < NUM_GLOBAL_ANIM_TOKENS + 1; i++)
index c602fa0633da410d118773ab27f77564a6ca4fd4..1c3e6aad5a0dadb27354a88ec15e7686e17ad09f 100644 (file)
@@ -103,7 +103,7 @@ void base64_encode(char *encoded_data,
     *ptr++ = '=';
   }
 
-  *ptr++= '\0';
+  *ptr++ = '\0';
 }
 
 static const byte b64decode[] =
index a99b70bbb42d1980ac114b4e224a9399d7bd0e5b..64637dc4c6220ca99361d1a27b38166c81dd5a9f 100644 (file)
@@ -1359,7 +1359,7 @@ static void HandleGadgetTags(struct GadgetInfo *gi, int first_tag, va_list ap)
     Bitmap *src_bitmap;
     int src_x, src_y;
 
-    gi->width  = 2 * border_xsize + gi->textinput.size * font_width +button_size;
+    gi->width  = 2 * border_xsize + gi->textinput.size * font_width + button_size;
     gi->height = 2 * border_ysize + font_height;
 
     if (gi->selectbox.options == NULL)