DeskCalc: fix build.
Apparently, this code was submitted to Gerrit without checking if it built.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <Alert.h>
|
||||
#include <Application.h>
|
||||
#include <AppFileInfo.h>
|
||||
#include <Beep.h>
|
||||
#include <Bitmap.h>
|
||||
#include <Catalog.h>
|
||||
#include <ControlLook.h>
|
||||
@@ -807,7 +808,7 @@ CalcView::Copy()
|
||||
&& (clipper = be_clipboard->Data()) == B_OK) {
|
||||
BString expression = fExpressionTextView->Text();
|
||||
if (clipper->AddData("text/plain", B_MIME_TYPE,
|
||||
expression.String(), expression.Length() == B_OK) {
|
||||
expression.String(), expression.Length()) == B_OK) {
|
||||
clipper->what = B_MIME_DATA;
|
||||
be_clipboard->Commit();
|
||||
}
|
||||
|
||||
@@ -87,10 +87,6 @@ CalcWindow::MessageReceived(BMessage* message)
|
||||
fCalcView->ToggleAutoNumlock();
|
||||
break;
|
||||
|
||||
case MSG_OPTIONS_AUDIO_FEEDBACK:
|
||||
fCalcView->ToggleAudioFeedback();
|
||||
break;
|
||||
|
||||
case MSG_OPTIONS_ANGLE_MODE_RADIAN:
|
||||
fCalcView->SetDegreeMode(false);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user