projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added missing code for new 3-state setup option type
[rocksndiamonds.git]
/
src
/
libgame
/
misc.c
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);