diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-27 14:06:18 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-06-27 14:06:18 +0300 |
commit | 12330bfe5b604a77c8aa27dff8a525cc751877ed (patch) | |
tree | da5e6a892fb9d763c65bb9d428921b2bfb7332ad /hwpfilter | |
parent | update component factory methods to use new prefixes, to add lib merging (diff) | |
download | core-12330bfe5b604a77c8aa27dff8a525cc751877ed.tar.gz core-12330bfe5b604a77c8aa27dff8a525cc751877ed.zip |
Fix Windows build
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index 8fe47730a9e9..8bcef10460df 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -543,7 +543,8 @@ void HwpReader::makeDrawMiscStyle( HWPDrawingObject *hdo ) close(fd); } #ifdef _WIN32 - for(int j = 0 ; j < (int)strlen( dirname ) ; j++) + int j; + for(j = 0 ; j < (int)strlen( dirname ) ; j++) { if( dirname[j] == '\\' ) buf[j] = '/'; else buf[j] = dirname[j]; |