[Ttssh2-commit] [7506] imm32.dllがない場合を考慮

scmno****@osdn***** scmno****@osdn*****
2019年 3月 22日 (金) 23:38:12 JST


Revision: 7506
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7506
Author:   zmatsuo
Date:     2019-03-22 23:38:12 +0900 (Fri, 22 Mar 2019)
Log Message:
-----------
imm32.dllがない場合を考慮

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

-------------- next part --------------
Modified: trunk/teraterm/teraterm/ttime.c
===================================================================
--- trunk/teraterm/teraterm/ttime.c	2019-03-22 14:38:00 UTC (rev 7505)
+++ trunk/teraterm/teraterm/ttime.c	2019-03-22 14:38:12 UTC (rev 7506)
@@ -500,6 +500,7 @@
 	HWND hWnd, const char *str_ptr, size_t str_count,
 	size_t cx, size_t *st_size_)
 {
+	if (HIMEDLL != NULL) return NULL;
 	assert(IsWindowUnicode(hWnd) == FALSE);
 	return CreateReconvStringSt(hWnd, FALSE, str_ptr, str_count, cx, st_size_);
 }
@@ -519,6 +520,7 @@
 	HWND hWnd, const wchar_t *str_ptr, size_t str_count,
 	size_t cx, size_t *st_size_)
 {
+	if (HIMEDLL == NULL) return NULL;
 	assert(IsWindowUnicode(hWnd) == TRUE);
 	return CreateReconvStringSt(hWnd, TRUE, str_ptr, str_count, cx, st_size_);
 }


Ttssh2-commit メーリングリストの案内