summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2007-03-12 19:38:17 +0000
committerishmal <ishmal@users.sourceforge.net>2007-03-12 19:38:17 +0000
commit917b65b549ea2125d34bef71870ecf39e5ab3e24 (patch)
tree5d562c97e22d4f5069daccdef5744f2c9096ed43 /src
parentCleanup public/private, doxygen comments (diff)
downloadinkscape-917b65b549ea2125d34bef71870ecf39e5ab3e24.tar.gz
inkscape-917b65b549ea2125d34bef71870ecf39e5ab3e24.zip
use g_vsnprintf() instead of vsnprintf() to avoid platform problems
(bzr r2620)
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/pov-out.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp
index 14a27914e..54d49a79a 100644
--- a/src/extension/internal/pov-out.cpp
+++ b/src/extension/internal/pov-out.cpp
@@ -124,11 +124,7 @@ void PovOutput::out(char *fmt, ...)
{
va_list args;
va_start(args, fmt);
-#if !defined(__GNUC__) || defined(__MINGW32__)
- vsnprintf(fmtbuf, 4096, fmt, args);
-#else
- vsprintf(fmtbuf, 4096, fmt, args);
-#endif
+ g_vsnprintf(fmtbuf, 4096, fmt, args);
va_end(args);
outbuf.append(fmtbuf);
}