fixed segfault in dialogs (thinko in manual conversion)
This commit is contained in:
parent
796a3db990
commit
6be010a396
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ int show_dialog(display& disp, SDL_Surface* image,
|
|||
|
||||
if(button_list != NULL) {
|
||||
try {
|
||||
while(button_list[0] != '\0') {
|
||||
while((*button_list)[0] != '\0') {
|
||||
buttons.push_back(button(disp,gettext(*button_list)));
|
||||
|
||||
++button_list;
|
||||
|
|
Loading…
Add table
Reference in a new issue