summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-05-05 15:05:45 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-05-05 15:05:45 -0700
commit6758ad5a88b0d64ebbd008a0561239935a7be443 (patch)
treebf00e1935592c18b01485451f0a4fd0172ec87af
parent652ca3b948f6ae1f84d72b5a5bb841d7c893e5e4 (diff)
Change fall through comment in ScrollByL.c to match gcc's requirements
Needs to match one of the regexps shown under https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough Silences warning from gcc 7.3 of: ScrollByL.c: In function ‘PrintText’: ScrollByL.c:1109:16: warning: this statement may fall through [-Wimplicit-fallthrough=] if (*(c + 1) == BACKSPACE) { ^ ScrollByL.c:1125:9: note: here default: ^~~~~~~ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--ScrollByL.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ScrollByL.c b/ScrollByL.c
index 27ad921..383acde 100644
--- a/ScrollByL.c
+++ b/ScrollByL.c
@@ -1120,7 +1120,7 @@ PrintText(Widget w, int start_line, int num_lines, int location)
*bufp++ = *c;
break;
}
- /* else fall through to default, because this was a real underscore. */
+ /* else fall through - to default, because this was a real underscore. */
default:
if (italicflag) { /* font change? */