*/}}
Browse Source

fix ui string

YimingWu 2 days ago
parent
commit
22b355622f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/la_widgets.c

+ 1 - 1
resources/la_widgets.c

@@ -1372,7 +1372,7 @@ void la_MenuItemDraw(laUiItem *ui, int h){
 void la_ConditionToggleDraw(laUiItem *ui, int h){
     laBoxedTheme *bt = (*ui->Type->Theme);
     char *buf[LA_RAW_CSTR_MAX_LEN];
-    char *buf2[LA_RAW_CSTR_MAX_LEN];
+    char *buf2[LA_RAW_CSTR_MAX_LEN]; buf2[0]=0;
     uint32_t IconID;
     int NoDecal=ui->Flags&LA_UI_FLAGS_NO_DECAL;