summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2022-12-30 17:32:01 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2022-12-30 17:32:01 +0100
commitf58a93a159105336136ce6e54ab7fc161e4fa15a (patch)
treef5a693dc8574651d0561ade485d553e3c46a3f0f
parentb2a38f793f5bd6876f611b256cff915e16c870d0 (diff)
Fix misleading indentation (warning: [-Wmisleading-indentation])
-rw-r--r--src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx
index a4b8672ce..8a7daf567 100644
--- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx
+++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx
@@ -1,7 +1,7 @@
//
// X11 font utilities for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2018 by Bill Spitzak and others.
+// Copyright 1998-2022 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -137,7 +137,9 @@ const char* Fl_Xlib_Graphics_Driver::get_font_name(Fl_Font fnum, int* ap) {
// collect all the attribute words:
for (int n = 3; n <= 6; n++) {
// get the next word:
- if (*e) e++; x = e; e = fl_font_word(x,1);
+ if (*e) e++;
+ x = e;
+ e = fl_font_word(x,1);
int t = attribute(n,x);
if (t < 0) {
if (o < (f->fontname + ENDOFBUFFER - 1)) *o++ = ' ';