OSDN Git Service

Fix: In some situations LEFT/RIGHT arrow keys do not work. (patch by Takeutch Kemeco.)
authorAkira <akohta001@gmail.com>
Sat, 28 Dec 2013 15:57:47 +0000 (00:57 +0900)
committerAkira <akohta001@gmail.com>
Sat, 28 Dec 2013 15:57:47 +0000 (00:57 +0900)
Add CONTRIBUTORS file.

CONTRIBUTORS [new file with mode: 0644]
README
help.txt
src/main.c

diff --git a/CONTRIBUTORS b/CONTRIBUTORS
new file mode 100644 (file)
index 0000000..4fabb35
--- /dev/null
@@ -0,0 +1,16 @@
+ntchは以下の方々に協力していただきました。
+また、2ch掲示板にて動作検証、不具合などを匿名で報告して頂いた方
+にも同様に感謝いたします。
+(敬称略、昇順)
+
+hlhex(SORCE FORGE.JP ID)
+ add keyPad function.
+ c532f0c85d0c3e65c8d6e68e78f84689c33b92ac
+ 10fd92c24e61aac245a3c5f2b1527b957bd9264c 
+
+takeutch-kemeco(GitHub ID)
+ fix arrow keys bugs.
+ #This commit.
+ build settings
+ 6ccf8679ab16a790d4e5e902fec4ae8e2e22f50b 
diff --git a/README b/README
index 1b04687..796bf66 100644 (file)
--- a/README
+++ b/README
     You should have received a copy of the GNU General Public License
     along with ntch.  If not, see <http://www.gnu.org/licenses/>.
     
+    Contributors
+    
+    hlhex(SORCE FORGE.JP ID)
+    takeutch-kemeco(GitHub ID)
+
     Copyright 2013 Akira Ohta (akohta001@gmail.com)
 
 Linux用 2ch専用ブラウザー
index c374581..50b3b3d 100644 (file)
--- a/help.txt
+++ b/help.txt
     You should have received a copy of the GNU General Public License
     along with ntch.  If not, see <http://www.gnu.org/licenses/>.
     
+    Contributors
+    
+    hlhex(SORCE FORGE.JP ID)
+    takeutch-kemeco(GitHub ID)
+
     Copyright 2013 Akira Ohta (akohta001@gmail.com)
 
 Linux用 2ch専用ブラウザー
index f402870..fdeb504 100644 (file)
@@ -448,13 +448,20 @@ static BOOL DoLoop(WINDOW *scrp, nt_usr_db_handle db_handle,
                                        }
                                        ch = NT_KEY_NONE;
                                        status_msg = NT_INFO_REFRESH_BOARD_SUCCESS;
+                                       state = DISP_STATE_THREADTITLE;
+                                       disp_state = state;
                                        continue;
                                }else{
                                        status_msg = NT_ERR_MSG_COUDLNOT_READ_BOARD;
                                }
                                state = DISP_STATE_THREADTITLE;
                        }else if(DISP_STATE_RESLIST == state){
+                               disp_state = state;
                                if(!nt_read_thread(h_sel_items)){
+                                       if(!rwinp->data){
+                                               state = DISP_STATE_THREADTITLE;
+                                               disp_state = state;
+                                       }
                                        wclear(scrp);
                                        ch = NT_KEY_NONE;
                                        continue;
@@ -466,7 +473,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;