Skip to content

Commit

Permalink
Merge 832c104 into 34c6f3d
Browse files Browse the repository at this point in the history
  • Loading branch information
beru authored Sep 1, 2019
2 parents 34c6f3d + 832c104 commit 1470963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sakura_core/view/CEditView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ bool CEditView::IsCurrentPositionURL(
&& (i == 0 || !IS_KEYWORD_CHAR(pLine[i - 1])) // 2009.05.22 ryoji CColor_Url::BeginColor()と同条件に
&& IsURL(&pLine[i], (Int)(nLineLen - i), &nUrlLen) ); /* 指定アドレスがURLの先頭ならばTRUEとその長さを返す */
}
if( bMatch ){
if( bMatch && nUrlLen > 0 ){
if( i <= ptXY.GetX2() && ptXY.GetX2() < i + CLogicInt(nUrlLen) ){
/* URLを返す場合 */
if( pwstrURL ){
Expand Down

0 comments on commit 1470963

Please sign in to comment.