mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 21:45:12 +00:00
Fix save file names
This commit is contained in:
parent
27b85c94b7
commit
d23c6f0ac5
2 changed files with 2 additions and 2 deletions
|
@ -174,7 +174,7 @@ void djui_panel_host_create(struct DjuiBase* caller) {
|
|||
djui_text_set_drop_shadow(text1, 64, 64, 64, 100);
|
||||
|
||||
char starString[64] = { 0 };
|
||||
snprintf(starString, 64, "%c x%d - %s", '~' + 1, save_file_get_total_star_count(configHostSaveSlot - 1, 0, 24), configSaveNames[configHostSaveSlot]);
|
||||
snprintf(starString, 64, "%c x%d - %s", '~' + 1, save_file_get_total_star_count(configHostSaveSlot - 1, 0, 24), configSaveNames[configHostSaveSlot - 1]);
|
||||
struct DjuiButton* button1 = djui_button_create(&rect2->base, starString, DJUI_BUTTON_STYLE_NORMAL, djui_panel_host_save_create);
|
||||
djui_base_set_size(&button1->base, 0.45f, 32);
|
||||
djui_base_set_alignment(&button1->base, DJUI_HALIGN_RIGHT, DJUI_VALIGN_TOP);
|
||||
|
|
|
@ -109,7 +109,7 @@ void djui_panel_host_save_create(struct DjuiBase* caller) {
|
|||
button2->base.tag = i;
|
||||
djui_base_set_size(&button2->base, 0.19f, 32);
|
||||
djui_base_set_alignment(&button2->base, DJUI_HALIGN_CENTER, DJUI_VALIGN_TOP);
|
||||
djui_base_set_location(&button2->base, button1->rect->base.width.value + 98, 0);
|
||||
djui_base_set_location(&button2->base, configDjuiThemeCenter ? 127 : button1->rect->base.width.value + 98, 0);
|
||||
djui_base_set_enabled(&button2->base, gDjuiInMainMenu);
|
||||
|
||||
struct DjuiButton* button3 = djui_button_create(&rect1->base, DLANG(HOST_SAVE, EDIT), DJUI_BUTTON_STYLE_NORMAL, djui_panel_host_save_edit);
|
||||
|
|
Loading…
Reference in a new issue