X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=conout.cpp;h=28d1a43604e1cccafcc750fbeea2fc868099b8ff;hp=98c428934652a3d36bf58677e8651ea19afb7513;hb=866fc3e24769ba8268de06ee5e28fc634612449f;hpb=aabefd1bfe0c5b08bea9341c1394cfa8b96d754d diff --git a/conout.cpp b/conout.cpp index 98c4289..28d1a43 100644 --- a/conout.cpp +++ b/conout.cpp @@ -16,7 +16,7 @@ static con_t console; /* * Enables color on output if supported. - * NOTE: The support for checking colors is NULL. On windows this will + * NOTE: The support for checking colors is nullptr. On windows this will * always work, on *nix it depends if the term has colors. * * NOTE: This prevents colored output to piped stdout/err via isatty @@ -138,7 +138,7 @@ static void con_vprintmsg_c(int level, const char *name, size_t line, size_t col } void con_vprintmsg(int level, const char *name, size_t line, size_t column, const char *msgtype, const char *msg, va_list ap) { - con_vprintmsg_c(level, name, line, column, msgtype, msg, ap, NULL); + con_vprintmsg_c(level, name, line, column, msgtype, msg, ap, nullptr); } void con_printmsg(int level, const char *name, size_t line, size_t column, const char *msgtype, const char *msg, ...) {