Kaydet (Commit) 99ffbb9d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

EndDialog takes long nResult, not bool

Change-Id: I04210f48f091a652b7867754484a9c5dd6b19471
üst a53cb5d7
......@@ -58,12 +58,12 @@ private:
};
IMPL_LINK_NOARG(RestartDialog, hdlYes) {
EndDialog(true);
EndDialog(RET_OK);
return 0;
}
IMPL_LINK_NOARG(RestartDialog, hdlNo) {
EndDialog(false);
EndDialog(RET_CANCEL);
return 0;
}
......
......@@ -1513,7 +1513,7 @@ IMPL_LINK( PrintDialog, ClickHdl, Button*, pButton )
if( pButton == mpOKButton || pButton == mpCancelButton )
{
storeToSettings();
EndDialog( pButton == mpOKButton );
EndDialog( pButton == mpOKButton ? RET_OK : RET_CANCEL );
}
else if( pButton == mpHelpButton )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment