[ttssh2-commit] [10322] デバグ用のUnicodeの文字列を16進大文字に変更

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 10月 18日 (火) 00:19:24 JST


Revision: 10322
          https://osdn.net/projects/ttssh2/scm/svn/commits/10322
Author:   zmatsuo
Date:     2022-10-18 00:19:23 +0900 (Tue, 18 Oct 2022)
Log Message:
-----------
デバグ用のUnicodeの文字列を16進大文字に変更

- 変更前は小文字だった
- Unicodeは大文字で表記
- r10320

Revision Links:
--------------
    https://osdn.net/projects/ttssh2/scm/svn/commits/10320

Modified Paths:
--------------
    trunk/teraterm/teraterm/buffer.c

-------------- next part --------------
Modified: trunk/teraterm/teraterm/buffer.c
===================================================================
--- trunk/teraterm/teraterm/buffer.c	2022-10-16 14:28:29 UTC (rev 10321)
+++ trunk/teraterm/teraterm/buffer.c	2022-10-17 15:19:23 UTC (rev 10322)
@@ -5478,8 +5478,8 @@
 static wchar_t *UnicodeCodePointStr(char32_t u32)
 {
 	const wchar_t *format =
-		u32 < 0x10000 ? L"U+%04x" :
-		u32 < 0x100000 ? L"U+%05x" :  L"U+%06x";
+		u32 < 0x10000 ? L"U+%04X" :
+		u32 < 0x100000 ? L"U+%05X" :  L"U+%06X";
 	wchar_t *str;
 	aswprintf(&str, format, u32);
 	return str;


ttssh2-commit メーリングリストの案内
Back to archive index