OSDN Git Service

Fix input range check processing in "Go to" dialog. (#1826)
authorJun Tajima <56220423+tjmprm77@users.noreply.github.com>
Sun, 30 Apr 2023 08:35:55 +0000 (17:35 +0900)
committerGitHub <noreply@github.com>
Sun, 30 Apr 2023 08:35:55 +0000 (17:35 +0900)
commited1675a2b45dcdbd64b1bfed6ca45742f4a1d920
treeede8f84c0d64fe8c089dcb8cd78df636dcdb214b
parentcb2aae0c4a950671f196847f34ecb1148d643b99
Fix input range check processing in "Go to" dialog. (#1826)

Fix the following issues:
- When "Go to what" is "Line", specifying a line greater than the number of lines in the selected pane when opening the dialog navigates to the wrong line.
  (Navigate to a line equal to the number of lines in the pane selected when the dialog was opened.)
- When "Go to what" is "Difference" in debug build, if a number larger than the number of comparison differences is specified, a debug error occurs in the CMergeEditView::SelectDiff() check process.
Src/MergeEditView.cpp