diff options
author | Sebastian Geerken <devnull@localhost> | 2013-12-27 00:44:59 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-12-27 00:44:59 +0100 |
commit | 0f070a78145091a04034b3db9c558e032ec22a2f (patch) | |
tree | 4326bc857bb96b3114fef4dfea9b34943771ebfa | |
parent | 4b4a884d9e18d785dc3055149a3e17979b1a0529 (diff) |
Minor RTFL fixes.
-rw-r--r-- | dw/style.cc | 6 | ||||
-rw-r--r-- | lout/debug.hh | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/dw/style.cc b/dw/style.cc index 5970fd6f..3a01d903 100644 --- a/dw/style.cc +++ b/dw/style.cc @@ -249,7 +249,7 @@ Style::Style (StyleAttrs *attrs) DBG_OBJ_ASSOC_CHILD (borderColor.bottom); DBG_OBJ_ASSOC_CHILD (borderColor.left); DBG_OBJ_ASSOC_CHILD (borderColor.right); - DBG_OBJ_ASSOC_CHILD (x_tooltip); + //DBG_OBJ_ASSOC_CHILD (x_tooltip); refCount = 1; @@ -498,7 +498,7 @@ void StyleImage::StyleImgRenderer::setBuffer (core::Imgbuf *buffer, bool resize) image->imgbufTiled = NULL; image->imgbufSrc = buffer; - DBG_OBJ_ASSOC_CHILD (image->imgbufSrc); + DBG_OBJ_ASSOC (image, image->imgbufSrc); if (image->imgbufSrc) { image->imgbufSrc->ref (); @@ -525,7 +525,7 @@ void StyleImage::StyleImgRenderer::setBuffer (core::Imgbuf *buffer, bool resize) (image->tilesX * image->imgbufSrc->getRootWidth(), image->tilesY * image->imgbufSrc->getRootHeight()); - DBG_OBJ_ASSOC_CHILD (image->imgbufTiled); + DBG_OBJ_ASSOC (image, image->imgbufTiled); } } } diff --git a/lout/debug.hh b/lout/debug.hh index e0d66a1b..40e27b13 100644 --- a/lout/debug.hh +++ b/lout/debug.hh @@ -38,7 +38,9 @@ #include <unistd.h> #include <stdio.h> -#define RTFL_PREFIX_FMT "[rtfl]%s:%d:%d:" +// "\n" at the beginning just in case that the previous line is not finished +// yet. +#define RTFL_PREFIX_FMT "\n[rtfl]%s:%d:%d:" #define RTFL_PREFIX_ARGS __FILE__, __LINE__, getpid() #define DBG_OBJ_MSG(aspect, prio, msg) \ |