Jelajahi Sumber

Fix format, apply `ufbt format`

Esteban Fuentealba 2 tahun lalu
induk
melakukan
c4c2469d2a
2 mengubah file dengan 2 tambahan dan 6 penghapusan
  1. 1 1
      pokemon_char_encode.c
  2. 1 5
      scenes/pokemon_menu.c

+ 1 - 1
pokemon_char_encode.c

@@ -131,7 +131,7 @@ char pokemon_char_to_encoded(int byte) {
     case '9':
     case '9':
         return _9_;
         return _9_;
 
 
-    /* This was previously implemented with unicode escape codes, however, that
+        /* This was previously implemented with unicode escape codes, however, that
      * seemed to cause compilation issues. Which is strange because others reported
      * seemed to cause compilation issues. Which is strange because others reported
      * compilation issues with the actual unicode characters. I'm not sure a good
      * compilation issues with the actual unicode characters. I'm not sure a good
      * universal way to resolve this.
      * universal way to resolve this.

+ 1 - 5
scenes/pokemon_menu.c

@@ -54,11 +54,7 @@ void main_menu_scene_on_enter(void* context) {
         pokemon_fap->submenu, buf, SelectNicknameScene, scene_change_from_main_cb, pokemon_fap);
         pokemon_fap->submenu, buf, SelectNicknameScene, scene_change_from_main_cb, pokemon_fap);
     snprintf(buf, sizeof(buf), "Level:           %d", pokemon_fap->trade_block->party[0].level);
     snprintf(buf, sizeof(buf), "Level:           %d", pokemon_fap->trade_block->party[0].level);
     submenu_add_item(
     submenu_add_item(
-        pokemon_fap->submenu,
-        buf,
-        SelectLevelScene,
-        scene_change_from_main_cb,
-        pokemon_fap);
+        pokemon_fap->submenu, buf, SelectLevelScene, scene_change_from_main_cb, pokemon_fap);
     submenu_add_item(
     submenu_add_item(
         pokemon_fap->submenu,
         pokemon_fap->submenu,
         "Select Moves",
         "Select Moves",