Compiler warning fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37253 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "ZipOMaticWindow.h"
|
||||
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "file:ZipOMatic.cpp"
|
||||
|
||||
|
||||
@@ -84,13 +85,14 @@ ZipOMatic::MessageReceived(BMessage* message)
|
||||
case ZIPPO_QUIT_OR_CONTINUE:
|
||||
{
|
||||
int32 button;
|
||||
if (message->FindInt32("which", &button) == B_OK)
|
||||
if (message->FindInt32("which", &button) == B_OK) {
|
||||
if (button == 0) {
|
||||
_StopZipping();
|
||||
} else {
|
||||
if (CountWindows() == 0)
|
||||
Quit();
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "ZipperThread.h"
|
||||
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "file:ZipOMaticWindow.cpp"
|
||||
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "ZipOMaticWindow.h"
|
||||
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "file:ZipperThread.cpp"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user