OSDN Git Service

amodiからの文字位置情報が二桁以上あると正しく取得できていなかった
authortnishi <tnishi@git.osdn.net>
Thu, 15 Dec 2016 02:22:08 +0000 (11:22 +0900)
committertnishi <tnishi@git.osdn.net>
Thu, 15 Dec 2016 02:22:08 +0000 (11:22 +0900)
DCHook/DCHook.cpp

index 193b89c..f70d949 100644 (file)
@@ -2800,6 +2800,7 @@ bool WaitAndGetResult(const TCHAR *path, unsigned waittime)
                                                        if (col==0){
                                                                loc = _wtoi(p);
                                                                col++;
+                                                               while (iswdigit(*p)) p++;
                                                        }
                                                }