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:51:16 +0100
commitce2f7954fdd9c537f8904c15c150171bc14642dd (patch)
tree6aa1b3789de30ea511be8441b68823ab5399e2e8 /l10ntools
parentde1cbc17952a7e5838c0ded2ed3042171cb997c4 (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);
}
}
}