diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-08-04 14:27:59 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-08-04 14:27:59 +0000 |
| commit | dd957026bd798ebe34eff033b4a839d63b790b04 (patch) | |
| tree | a7e5105597676cfb1f4d293640c3f411e9bd2d32 /src/sp-text.cpp | |
| parent | cppcheck: c-style casts > c++ style casts (diff) | |
| download | inkscape-dd957026bd798ebe34eff033b4a839d63b790b04.tar.gz inkscape-dd957026bd798ebe34eff033b4a839d63b790b04.zip | |
cppcheck
(bzr r12467)
Diffstat (limited to 'src/sp-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp index 8d42b7d59..e43a34762 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -381,9 +381,9 @@ static char * sp_text_description(SPItem *item) font_instance *tf = font_factory::Default()->FaceFromStyle(style); - char name_buf[256]; char *n; if (tf) { + char name_buf[256]; tf->Family(name_buf, sizeof(name_buf)); n = xml_quote_strdup(name_buf); tf->Unref(); |
