Created
December 28, 2013 02:49
-
-
Save takeutch-kemeco/8155579 to your computer and use it in GitHub Desktop.
ntchで、スレッド一覧 から レス一覧 への移動を高速に行うと(→←のガチャ操作すると)、内部的な位置がおかしくなる問題を修正するパッチ 対象ソース
commit 5751d369719dcde54aa0237c91846ba118cb38de
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main.c b/src/main.c | |
index f402870..cf45582 100644 | |
--- a/src/main.c | |
+++ b/src/main.c | |
@@ -454,6 +454,7 @@ static BOOL DoLoop(WINDOW *scrp, nt_usr_db_handle db_handle, | |
} | |
state = DISP_STATE_THREADTITLE; | |
}else if(DISP_STATE_RESLIST == state){ | |
+ disp_state = state; | |
if(!nt_read_thread(h_sel_items)){ | |
wclear(scrp); | |
ch = NT_KEY_NONE; | |
@@ -466,7 +467,6 @@ static BOOL DoLoop(WINDOW *scrp, nt_usr_db_handle db_handle, | |
free_reslist_ctx(rwinp->data); | |
rwinp->data = NULL; | |
} | |
- disp_state = state; | |
state = DISP_STATE_THREADTITLE; | |
ch = NT_KEY_NONE; | |
continue; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment