projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a70638
)
added missing code for new 3-state setup option type
author
Holger Schemel
<info@artsoft.org>
Fri, 26 Apr 2024 14:55:26 +0000
(16:55 +0200)
committer
Holger Schemel
<info@artsoft.org>
Fri, 26 Apr 2024 14:55:26 +0000
(16:55 +0200)
src/libgame/misc.c
patch
|
blob
|
history
diff --git
a/src/libgame/misc.c
b/src/libgame/misc.c
index af2ac9bc4ef43b8315d89c80655132eb6f0a4043..47cabacc476a073364598267195b0442cf13dd86 100644
(file)
--- a/
src/libgame/misc.c
+++ b/
src/libgame/misc.c
@@
-2967,6
+2967,8
@@
int get_switch3_from_string(char *s)
result = TRUE;
else if (strEqual(s_lower, "auto"))
result = STATE_AUTO;
+ else if (strEqual(s_lower, "ask"))
+ result = STATE_ASK;
free(s_lower);