From f58a93a159105336136ce6e54ab7fc161e4fa15a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 30 Dec 2022 17:32:01 +0100 Subject: Fix misleading indentation (warning: [-Wmisleading-indentation]) --- src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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++ = ' '; -- cgit v1.2.3