FLTK logo

[master] 2328547 - Github #351: fixed missing curly brackets.

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 2328547 - Github #351: fixed missing curly brackets. "Matthias Melcher" Dec 19, 2021  
 
commit 2328547538d17631cfb10c90ee474b99ea808a67
Author:     Matthias Melcher <git@matthiasm.com>
AuthorDate: Sun Dec 19 22:31:59 2021 +0100
Commit:     Matthias Melcher <github@matthiasm.com>
CommitDate: Sun Dec 19 22:33:12 2021 +0100

    Github #351: fixed missing curly brackets.

 fluid/file.cxx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git fluid/file.cxx fluid/file.cxx
index 044e4b1..59177cb 100644
--- fluid/file.cxx
+++ fluid/file.cxx
@@ -393,7 +393,10 @@ int write_file(const char *filename, int selected_only) {
         write_string("\ni18n_static_function"); write_word(i18n_static_function);
         break;
     case 2 : /* POSIX catgets */
-        if (i18n_file[0]) write_string("\ni18n_file"); write_word(i18n_file);
+        if (i18n_file[0]) {
+          write_string("\ni18n_file");
+          write_word(i18n_file);
+        }
         write_string("\ni18n_set"); write_word(i18n_set);
         break;
     }
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.