diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-11 12:00:06 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-11 12:00:06 +0200 |
commit | c038b6a37d65ebf23b34e669414cbb959fc7b2a4 (patch) | |
tree | 22ae752d69066ea2728239629713f13c02bfc272 /src/debug.h | |
parent | bad4854f599cce579c66bbd44ed005b2a40a1552 (diff) | |
download | feh-c038b6a37d65ebf23b34e669414cbb959fc7b2a4.zip |
debug.h: call_level is no longer relevant, pretty debug message format
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.h b/src/debug.h index db4369d..156bf1c 100644 --- a/src/debug.h +++ b/src/debug.h @@ -43,7 +43,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. { \ if(i <= opt.debug_level) \ { \ - printf("%s +%u %s() %s ",__FILE__,__LINE__,__FUNCTION__, stroflen(' ', call_level)); \ + printf("%-12s +%-4u %-20s : ",__FILE__,__LINE__,__FUNCTION__); \ printf a; \ fflush(stdout); \ } \ @@ -53,7 +53,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. { \ if(i <= opt.debug_level) \ { \ - printf("%s +%u : ",__FILE__,__LINE__); \ + printf("%-12s +%-4u : ",__FILE__,__LINE__); \ printf a; \ } \ fflush(stdout); \ |