• R/O
  • SSH
  • HTTPS

bchan: 提交


Commit MetaInfo

修訂588 (tree)
時間2013-11-24 01:53:03
作者ornse01

Log Message

detail fix.

Change Summary

差異

--- bchank/trunk/src/main.c (revision 587)
+++ bchank/trunk/src/main.c (revision 588)
@@ -473,6 +473,12 @@
473473 free(bchank->data.bin);
474474 }
475475
476+LOCAL VOID bchank_hmi_timeout(bchank_t *bchank, W code)
477+{
478+ bchank_caret_blink(&bchank->caret);
479+ req_tmg(1000, 0);
480+}
481+
476482 LOCAL VOID bchank_hmi_draw(bchank_t *bchank, editorwindow_t *window)
477483 {
478484 RECT r;
@@ -526,8 +532,7 @@
526532 case BCHANKHMIEVENT_TYPE_COMMON_KEYDOWN:
527533 case BCHANKHMIEVENT_TYPE_COMMON_MENU:
528534 case BCHANKHMIEVENT_TYPE_COMMON_TIMEOUT:
529- bchank_caret_blink(&bchank->caret);
530- req_tmg(1000, 0);
535+ bchank_hmi_timeout(bchank, evt->data.common_timeout.code);
531536 break;
532537 case BCHANKHMIEVENT_TYPE_EDITORWINDOW_DRAW:
533538 bchank_hmi_draw(bchank, window);
Show on old repository browser