diff libinterp/corefcn/txt-eng-ft.cc @ 17898:8c33abdd2f9a

maint: Avoid using NULL in C++ code. * qtinfo/parser.cc, profiler.cc, profiler.h, txt-eng-ft.cc, __init_fltk__.cc, ov-fcn-handle.cc, ov-java.cc, mkoctfile.in.cc: Avoid using NULL in C++ code.
author John W. Eaton <jwe@octave.org>
date Mon, 11 Nov 2013 01:49:57 -0500
parents 175b392e91fe
children 6a71e5030df5
line wrap: on
line diff
--- a/libinterp/corefcn/txt-eng-ft.cc	Sun Nov 10 21:10:41 2013 +0100
+++ b/libinterp/corefcn/txt-eng-ft.cc	Mon Nov 11 01:49:57 2013 -0500
@@ -663,7 +663,7 @@
               if (r != 0)
                 ::warning ("ft_render: failed to decode string `%s' with "
                            "locale `%s'", str.c_str (),
-                           std::setlocale (LC_CTYPE, NULL));
+                           std::setlocale (LC_CTYPE, 0));
               break;
             }
         }