diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-10-05 12:19:04 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2019-10-05 12:19:04 +0000 |
| commit | 67d61b662f9c7f8cd39ea78335efb709bade4549 (patch) | |
| tree | 1df7203973194293cb2e338fed03094b746fd502 /src/extension | |
| parent | Match default for star tool and star toolbar (diff) | |
| download | inkscape-67d61b662f9c7f8cd39ea78335efb709bade4549.tar.gz inkscape-67d61b662f9c7f8cd39ea78335efb709bade4549.zip | |
Fix various minor code problems
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/internal/wmf-print.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/extension/internal/wmf-print.cpp b/src/extension/internal/wmf-print.cpp index 6b8bcf242..147a6369f 100644 --- a/src/extension/internal/wmf-print.cpp +++ b/src/extension/internal/wmf-print.cpp @@ -1372,7 +1372,8 @@ unsigned int PrintWmf::text(Inkscape::Extension::Print * /*mod*/, char const *te double ky; // the dx array is smuggled in like: text<nul>w1 w2 w3 ...wn<nul><nul>, where the widths are floats 7 characters wide, including the space - int ndx, rtl; + int ndx = 0; + int rtl = 0; int16_t *adx; smuggle_adxky_out(text, &adx, &ky, &rtl, &ndx, PX2WORLD * std::min(tf.expansionX(), tf.expansionY())); // side effect: free() adx |
