From 2ef5af939c2e3e304269b45a0b689228f52f4fc8 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 3 Mar 2013 15:03:25 +0100 Subject: [PATCH] zapit/debug: even shorter filenames --- src/zapit/include/zapit/debug.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/zapit/include/zapit/debug.h b/src/zapit/include/zapit/debug.h index 719c65f01..9dd4c5e79 100644 --- a/src/zapit/include/zapit/debug.h +++ b/src/zapit/include/zapit/debug.h @@ -2,6 +2,7 @@ * $Id: debug.h,v 1.7 2003/04/30 04:39:03 obi Exp $ * * (C) 2002-2003 Andreas Oberritter + * (C) 2011,2013 Stefan Seyfried * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -44,7 +45,7 @@ /* zapit.cpp */ extern int zapit_debug; -static int __striplen = strstr(__FILE__, "src/zapit") ? (strstr(__FILE__, "src/zapit") - __FILE__ + 4) : 0; +static int __striplen = strstr(__FILE__, "src/zapit") ? (strstr(__FILE__, "src/zapit") - __FILE__ + 14) : 0; #define __SHORTFILE__ (__FILE__ + __striplen) #define DBG(fmt, args...) \