Code

change VERSION to INKSCAPE_VERSION in potracelib.cpp
authorverbalshadow <verbalshadow@users.sourceforge.net>
Wed, 18 Jun 2008 21:16:59 +0000 (21:16 +0000)
committerverbalshadow <verbalshadow@users.sourceforge.net>
Wed, 18 Jun 2008 21:16:59 +0000 (21:16 +0000)
src/trace/potrace/potracelib.cpp

index 215d3b457cc7cd48ec355dc26b51c6b77bf7e2d2..36b3a5f944367f0c43de731cd037c76d369e947d 100644 (file)
@@ -6,6 +6,7 @@
 #include <string.h>
 
 #include "potracelib.h"
+#include <inkscape_version.h>
 #include "curve.h"
 #include "decompose.h"
 #include "trace.h"
@@ -109,5 +110,5 @@ void potrace_param_free(potrace_param_t *p) {
 }
 
 char *potrace_version(void) {
-  return "potracelib "VERSION"";
+  return "potracelib "INKSCAPE_VERSION"";
 }