From c428202503a6f57e3f9381af880a6d594aca4c65 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 May 2015 02:29:22 +0300 Subject: Fix compilation with different options. --- src/gui/windows/itemamountwindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/windows/itemamountwindow.cpp') diff --git a/src/gui/windows/itemamountwindow.cpp b/src/gui/windows/itemamountwindow.cpp index 870d91265..f37e88c46 100644 --- a/src/gui/windows/itemamountwindow.cpp +++ b/src/gui/windows/itemamountwindow.cpp @@ -94,10 +94,12 @@ void ItemAmountWindow::finish(const Item *const item, if (shopWindow) shopWindow->addSellItem(item, amount, price); break; +#ifdef EATHENA_SUPPORT case MailAdd: if (mailEditWindow) mailEditWindow->addItem(item, amount); break; +#endif default: break; } @@ -239,10 +241,12 @@ ItemAmountWindow::ItemAmountWindow(const Usage usage, Window *const parent, // TRANSLATORS: amount window message setCaption(_("Select amount of items to store.")); break; +#ifdef EATHENA_SUPPORT case MailAdd: // TRANSLATORS: amount window message setCaption(_("Select amount of items to send.")); break; +#endif case CartAdd: // TRANSLATORS: amount window message setCaption(_("Select amount of items to store to cart.")); -- cgit v1.2.3-70-g09d2