]> git.refcnt.org Git - colorize.git/commitdiff
Capitalize first letter of diagnostics
authorSteven Schubiger <stsc@refcnt.org>
Fri, 25 Jan 2013 10:03:31 +0000 (11:03 +0100)
committerSteven Schubiger <stsc@refcnt.org>
Fri, 25 Jan 2013 10:03:31 +0000 (11:03 +0100)
colorize.c

index 7bf77b81863c6ca4db0d8d899290f692b156efc2..041ecdb2fc560230f27353b462324597523cf6df 100644 (file)
@@ -65,7 +65,7 @@
 
 #if DEBUG
 # define MEM_ALLOC_FAIL(file, line) do {                                                    \
 
 #if DEBUG
 # define MEM_ALLOC_FAIL(file, line) do {                                                    \
-    fprintf (stderr, "memory allocation failure in source file %s, line %d\n", file, line); \
+    fprintf (stderr, "Memory allocation failure in source file %s, line %d\n", file, line); \
     exit (2);                                                                               \
 } while (false);
 #else
     exit (2);                                                                               \
 } while (false);
 #else
@@ -76,7 +76,7 @@
 #endif
 
 #define ABORT_TRACE()                                                              \
 #endif
 
 #define ABORT_TRACE()                                                              \
-    fprintf (stderr, "aborting in source file %s, line %d\n", __FILE__, __LINE__); \
+    fprintf (stderr, "Aborting in source file %s, line %d\n", __FILE__, __LINE__); \
     abort ();                                                                      \
 
 #define CHECK_COLORS_RANDOM(color1, color2)        \
     abort ();                                                                      \
 
 #define CHECK_COLORS_RANDOM(color1, color2)        \