Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2012-07-07 16:56:57 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2012-07-07 16:56:57 +0400
commitd7ffb08b3e6551dca57eb421669876e1597fce48 (patch)
tree6d9ca0d13d12b46202645188ce93a92d34e9287e /src/DSUtil/text.cpp
parent2587b85630061898bb6048b89ae2b2e77dd5b66b (diff)
indentation cosmetics
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@5390 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/text.cpp')
-rw-r--r--src/DSUtil/text.cpp21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/DSUtil/text.cpp b/src/DSUtil/text.cpp
index 3df2726cb..355537c33 100644
--- a/src/DSUtil/text.cpp
+++ b/src/DSUtil/text.cpp
@@ -46,15 +46,22 @@ CStringA ConvertMBCS(CStringA str, DWORD SrcCharSet, DWORD DstCharSet)
memset(mbcs, 0, str.GetLength() * 6 + 1);
int len = MultiByteToWideChar(
- CharSetToCodePage(SrcCharSet), 0,
- str, -1, // null terminated string
- utf16, str.GetLength() + 1);
+ CharSetToCodePage(SrcCharSet),
+ 0,
+ str,
+ -1, // null terminated string
+ utf16,
+ str.GetLength() + 1);
len = WideCharToMultiByte(
- CharSetToCodePage(DstCharSet), 0,
- utf16, len,
- mbcs, str.GetLength() * 6,
- NULL, NULL);
+ CharSetToCodePage(DstCharSet),
+ 0,
+ utf16,
+ len,
+ mbcs,
+ str.GetLength() * 6,
+ NULL,
+ NULL);
str = mbcs;