diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2014-02-10 08:00:55 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2014-02-10 08:00:55 +0000 |
| commit | 736d0988d1285e19838251c62d6258209f2c5683 (patch) | |
| tree | 8c75745771e3f2cce225d0901b6542e7752347bc /src/sp-text.cpp | |
| parent | viewbox: simple code clean-up (diff) | |
| download | inkscape-736d0988d1285e19838251c62d6258209f2c5683.tar.gz inkscape-736d0988d1285e19838251c62d6258209f2c5683.zip | |
Fixing format-security errors in text debug code.
(bzr r13017)
Diffstat (limited to 'src/sp-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp index ef46e890f..bbc7ec43d 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -518,12 +518,12 @@ void SPText::rebuildLayout() if (SP_IS_TEXTPATH(child)) { SPTextPath const *textpath = SP_TEXTPATH(child); if (textpath->originalPath != NULL) { - //g_print(layout.dumpAsText().c_str()); + //g_print("%s", layout.dumpAsText().c_str()); layout.fitToPathAlign(textpath->startOffset, *textpath->originalPath); } } } - //g_print(layout.dumpAsText().c_str()); + //g_print("%s", layout.dumpAsText().c_str()); // set the x,y attributes on role:line spans for (SPObject *child = firstChild() ; child ; child = child->getNext() ) { |
