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"
|
#include "ZipOMaticWindow.h"
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "file:ZipOMatic.cpp"
|
#define B_TRANSLATE_CONTEXT "file:ZipOMatic.cpp"
|
||||||
|
|
||||||
|
|
||||||
@@ -84,13 +85,14 @@ ZipOMatic::MessageReceived(BMessage* message)
|
|||||||
case ZIPPO_QUIT_OR_CONTINUE:
|
case ZIPPO_QUIT_OR_CONTINUE:
|
||||||
{
|
{
|
||||||
int32 button;
|
int32 button;
|
||||||
if (message->FindInt32("which", &button) == B_OK)
|
if (message->FindInt32("which", &button) == B_OK) {
|
||||||
if (button == 0) {
|
if (button == 0) {
|
||||||
_StopZipping();
|
_StopZipping();
|
||||||
} else {
|
} else {
|
||||||
if (CountWindows() == 0)
|
if (CountWindows() == 0)
|
||||||
Quit();
|
Quit();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
#include "ZipperThread.h"
|
#include "ZipperThread.h"
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "file:ZipOMaticWindow.cpp"
|
#define B_TRANSLATE_CONTEXT "file:ZipOMaticWindow.cpp"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
#include "ZipOMaticWindow.h"
|
#include "ZipOMaticWindow.h"
|
||||||
|
|
||||||
|
|
||||||
|
#undef B_TRANSLATE_CONTEXT
|
||||||
#define B_TRANSLATE_CONTEXT "file:ZipperThread.cpp"
|
#define B_TRANSLATE_CONTEXT "file:ZipperThread.cpp"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user