mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
Fix a bug. (Thanks to Ged).
svn path=/trunk/; revision=26329
This commit is contained in:
@@ -262,8 +262,11 @@ DlgProc(HWND hDlg,
|
||||
|
||||
ch = SendMessage(hMap, FM_GETCHAR, 0, 0);
|
||||
|
||||
AddCharToSelection(GetDlgItem(hDlg, IDC_TEXTBOX),
|
||||
ch);
|
||||
if (ch)
|
||||
{
|
||||
AddCharToSelection(GetDlgItem(hDlg, IDC_TEXTBOX),
|
||||
ch);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -492,6 +492,7 @@ MapWndProc(HWND hwnd,
|
||||
|
||||
case FM_GETCHAR:
|
||||
{
|
||||
if (!infoPtr->pActiveCell) return NULL;
|
||||
return infoPtr->pActiveCell->ch;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user