Mercurial > kinput2.yaz
comparison lib/CcWnn.c @ 11:983aff0dcf18
imported patch 14_kinput2-v3.1-beta3-freewnn.diff
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 08 Mar 2010 20:37:40 +0900 |
parents | 92745d501b9a |
children |
comparison
equal
deleted
inserted
replaced
1:31f1de16683a | 11:983aff0dcf18 |
---|---|
337 static ICString *SymbolList; | 337 static ICString *SymbolList; |
338 static int NumSymbols; | 338 static int NumSymbols; |
339 | 339 |
340 static void ccInitialize(); | 340 static void ccInitialize(); |
341 static void jcInitialize(); | 341 static void jcInitialize(); |
342 static void createEnvError(); | 342 static int createEnvError(char *); |
343 static int createConfirm(); | 343 static int createConfirm(char *); |
344 | 344 |
345 static int funcDispatch(); | 345 static int funcDispatch(); |
346 static void defAction(); | 346 static void defAction(); |
347 static void insChar(); | 347 static void insChar(); |
348 static void delChar(); | 348 static void delChar(); |
897 /* 接続できなくてもバッファは作っておく */ | 897 /* 接続できなくてもバッファは作っておく */ |
898 obj->ccWnn.jcbuf = jcCreateBuffer(obj->ccWnn.wnnbuf, 10, 80); | 898 obj->ccWnn.jcbuf = jcCreateBuffer(obj->ccWnn.wnnbuf, 10, 80); |
899 if (obj->ccWnn.pendingdata) restoreData(obj); | 899 if (obj->ccWnn.pendingdata) restoreData(obj); |
900 } | 900 } |
901 | 901 |
902 static void | 902 static int |
903 createEnvError(s) | 903 createEnvError(s) |
904 char *s; | 904 char *s; |
905 { | 905 { |
906 if (current_obj != NULL) | 906 if (current_obj != NULL) |
907 XtAppWarning(XtWidgetToApplicationContext((Widget)current_obj), s); | 907 XtAppWarning(XtWidgetToApplicationContext((Widget)current_obj), s); |
908 | |
909 return 0; | |
908 } | 910 } |
909 | 911 |
910 static int | 912 static int |
911 createConfirm(s) | 913 createConfirm(s) |
912 char *s; | 914 char *s; |