summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-12-17 13:49:09 +0100
committerAndras Timar <atimar@suse.com>2012-12-17 13:50:34 +0100
commita176815ee9c9ac4549794306164648e6cbc628f3 (patch)
tree2b67699786152654d89a5c63d1723b605d96055a /l10ntools
parent268352b13d54ac4195246f6fc75a9f490b8a4dea (diff)
fix ascii escaped unicode generation
Change-Id: I732a480e71c3f26ffde527c5e0eea36f814b8b03
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/propmerge.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/l10ntools/source/propmerge.cxx b/l10ntools/source/propmerge.cxx
index 3bd44fb5f974..8c2b97b6c67b 100644
--- a/l10ntools/source/propmerge.cxx
+++ b/l10ntools/source/propmerge.cxx
@@ -88,7 +88,9 @@ namespace
rOfstream
<< "\\u"
<< std::setfill('0') << std::setw(2) << std::uppercase
- << std::hex << (cUniCode >> 8) << (cUniCode & 0xFF);
+ << std::hex << (cUniCode >> 8)
+ << std::setfill('0') << std::setw(2) << std::uppercase
+ << std::hex << (cUniCode & 0xFF);
}
}
}