OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53d6750
)
Remove tchar.h dependency from UnicodeString.h
author
sdottaka
<none@none>
Wed, 29 Aug 2012 14:31:31 +0000
(23:31 +0900)
committer
sdottaka
<none@none>
Wed, 29 Aug 2012 14:31:31 +0000
(23:31 +0900)
Src/Common/UnicodeString.h
patch
|
blob
|
history
diff --git
a/Src/Common/UnicodeString.h
b/Src/Common/UnicodeString.h
index
b3d530d
..
04da621
100644
(file)
--- a/
Src/Common/UnicodeString.h
+++ b/
Src/Common/UnicodeString.h
@@
-50,6
+50,10
@@
String string_trim_ws_begin(const String & str);
String string_trim_ws_end(const String & str);
// Formatting
-String string_format(const TCHAR *fmt, ...);
+#ifdef UNICODE
+String string_format(const wchar_t *fmt, ...);
+#else
+String string_format(const char *fmt, ...);
+#endif
#endif // _UNICODE_STRING_