aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-10-30 18:23:03 +0100
committerjcid <devnull@localhost>2008-10-30 18:23:03 +0100
commit3309d5e5590c510f8518cb2cce4cd555df2211e5 (patch)
treed99f6109ee7cb6049b55a1dc7cd82eab53d4c668 /src/dialog.cc
parente1cb964a74ed9477716ea200aefb530771512ec0 (diff)
- Reduced warnings with gcc-4.3.
Diffstat (limited to 'src/dialog.cc')
-rw-r--r--src/dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialog.cc b/src/dialog.cc
index 69781f32..8408782f 100644
--- a/src/dialog.cc
+++ b/src/dialog.cc
@@ -193,7 +193,7 @@ int a_Dialog_choice5(const char *QuestionTxt,
txt[0] = txt[6] = NULL;
txt[1] = alt1; txt[2] = alt2; txt[3] = alt3;
txt[4] = alt4; txt[5] = alt5;
- for (int i=1; txt[i]; ++i, ++nb);
+ for (int i=1; txt[i]; ++i, ++nb) ;
Window *window = new Window(ww,wh,"Choice5");
window->begin();