]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/ModalDialog.hh
stream-based logging classes
[chaz/yoink] / src / Moof / ModalDialog.hh
index 68a6d285f99f414297d98e49a61093932fbb573c..9b3820a210867f51b7cc626c07daef938efdfaef 100644 (file)
@@ -79,16 +79,16 @@ struct ModalDialog
                switch (type)
                {
                        case WARNING:
-                               logWarning("%s", text1.c_str());
-                               logWarning("%s", text2.c_str());
+                               logWarning(text1);
+                               logWarning(text2);
                                break;
                        case CRITICAL:
-                               logError("%s", text1.c_str());
-                               logError("%s", text2.c_str());
+                               logError(text1);
+                               logError(text2);
                                break;
                        default:
-                               logInfo("%s", text1.c_str());
-                               logInfo("%s", text2.c_str());
+                               logInfo(text1);
+                               logInfo(text2);
                                break;
                }
 
This page took 0.020423 seconds and 4 git commands to generate.