summaryrefslogtreecommitdiff
path: root/server/src/widgetgenerator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/widgetgenerator.cc')
-rw-r--r--server/src/widgetgenerator.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/widgetgenerator.cc b/server/src/widgetgenerator.cc
index 58f2992..2e51b32 100644
--- a/server/src/widgetgenerator.cc
+++ b/server/src/widgetgenerator.cc
@@ -24,6 +24,7 @@
* along with Pracro; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
+#include "debug.h"
#include "widgetgenerator.h"
#include "configuration.h"
@@ -54,7 +55,7 @@ static std::string automap(std::string name)
"end\n"
"return value, timestamp\n";
- printf("Automap:\n%s\n", automapstring.c_str());
+ PRACRO_DEBUG(widget, "Automap:\n%s\n", automapstring.c_str());
return automapstring;
}