From: edwin Date: Mon, 11 Sep 2006 14:45:13 +0000 (+0000) Subject: * src/toolbox/logging.h (log_text): Fixed for strings containing %. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=50fa7d8519bb1547586f8514ef6de358087c26d1;p=cacao.git * src/toolbox/logging.h (log_text): Fixed for strings containing %. --HG-- branch : unified_variables --- diff --git a/src/toolbox/logging.h b/src/toolbox/logging.h index 00fe9495e..cc8b7a136 100644 --- a/src/toolbox/logging.h +++ b/src/toolbox/logging.h @@ -28,7 +28,7 @@ Changes: Christan Thalinger - $Id: logging.h 4967 2006-05-26 16:24:58Z edwin $ + $Id: logging.h 5464 2006-09-11 14:45:13Z edwin $ */ @@ -72,7 +72,7 @@ void log_message_class_message_class(const char *msg1, classinfo *c1, const char *msg2, classinfo *c2); void log_message_method(const char *msg, methodinfo *m); -#define log_text log_println +#define log_text(s) log_println("%s", (s)) #define dolog log_println #endif /* _LOGGING_H */