Skip to content

Commit

Permalink
Merge pull request sakura-editor#236 from yoshinrt/fixup_dogrep_local…
Browse files Browse the repository at this point in the history
…var_init

CGrepAgent::DoGrep のローカル変数初期化漏れ修正
  • Loading branch information
kobake authored Jul 11, 2018
2 parents 990b683 + 8d8e928 commit ffe2a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sakura_core/CGrepAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ DWORD CGrepAgent::DoGrep(
if( bGrepPaste ){
// 矩形・ラインモード貼り付けは未サポート
bool bColmnSelect;
bool bLineSelect;
bool bLineSelect = false;
if( !pcViewDst->MyGetClipboardData( cmemReplace, &bColmnSelect, GetDllShareData().m_Common.m_sEdit.m_bEnableLineModePaste? &bLineSelect: NULL ) ){
this->m_bGrepRunning = false;
pcViewDst->m_bDoing_UndoRedo = false;
Expand Down

0 comments on commit ffe2a29

Please sign in to comment.