Skip to content

Commit

Permalink
[BUG_FIXED] Remove unnecessary lines which could make bugs.
Browse files Browse the repository at this point in the history
- Notepad-plus svn trunk @ 747
  • Loading branch information
donho committed Apr 17, 2011
1 parent 556d4bd commit 4b2e5f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion PowerEditor/src/Notepad_plus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4576,7 +4576,7 @@ void Notepad_plus::launchAnsiCharPanel()

::SendMessage(_pPublicInterface->getHSelf(), NPPM_MODELESSDIALOG, MODELESSDIALOGREMOVE, (WPARAM)_pAnsiCharPanel->getHSelf());
// define the default docking behaviour
data.uMask = DWS_DF_CONT_BOTTOM | DWS_ICONTAB | DWS_ADDINFO;
data.uMask = DWS_DF_CONT_RIGHT | DWS_ICONTAB | DWS_ADDINFO;
data.hIconTab = (HICON)::LoadImage(_pPublicInterface->getHinst(), MAKEINTRESOURCE(IDI_FIND_RESULT_ICON), IMAGE_ICON, 0, 0, LR_LOADMAP3DCOLORS | LR_LOADTRANSPARENT);
//data.pszAddInfo = _findAllResultStr;

Expand Down
4 changes: 0 additions & 4 deletions PowerEditor/src/NppCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
#define CF_RTF TEXT("Rich Text Format")
#define CF_NPPTEXTLEN TEXT("Notepad++ Binary Text Length")

static int copyDataLen = 0;

void Notepad_plus::macroPlayback(Macro macro)
{
_pEditView->execute(SCI_BEGINUNDOACTION);
Expand Down Expand Up @@ -236,8 +234,6 @@ void Notepad_plus::command(int id)
GlobalUnlock(hglb);
}
}
_pEditView->execute(SCI_REPLACESEL, 0, (LPARAM)"");
_pEditView->execute(SCI_ADDTEXT, copyDataLen, (LPARAM)lpchar);
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion PowerEditor/src/WinControls/AnsiCharPanel/ListView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ generic_string ListView::getAscii(unsigned char value)
}

}
return TEXT("");
//return TEXT("");
}

void ListView::setValues(int codepage)
Expand Down

0 comments on commit 4b2e5f3

Please sign in to comment.