diff options
author | corvid <corvid@lavabit.com> | 2011-05-26 14:21:52 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2011-05-26 14:21:52 +0000 |
commit | fe3616d054d7a1efc771a57890d9464c16607ce2 (patch) | |
tree | 80f5bc0b797fa84a0f94572922c4ee34d80c8b61 /src/dialog.cc | |
parent | 706a33d7ab12cd2b24f8f8101aaac43bf20f55fb (diff) |
fix compilation warnings
reported in
http://lists.auriga.wearlab.de/pipermail/dillo-dev/2011-May/008348.html
Diffstat (limited to 'src/dialog.cc')
-rw-r--r-- | src/dialog.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dialog.cc b/src/dialog.cc index a2139106..0775a1b9 100644 --- a/src/dialog.cc +++ b/src/dialog.cc @@ -174,7 +174,8 @@ 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) + ; ww = 140 + nb*(bw+10); Fl_Window *window = new Fl_Window(ww,wh,"Choice5"); |