From 5443d8c659f1f34878b1033cd106333c7f55d6de Mon Sep 17 00:00:00 2001 From: Woowon Date: Thu, 8 Nov 2012 17:41:46 +0900 Subject: [PATCH] fix bug : arrow icon doesn't display Change-Id: Id6de780cd1ddf26d8c5399ea5a6cb5c3957a81b3 --- project/src/ReadForm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/ReadForm.cpp b/project/src/ReadForm.cpp index 335c7f0..c35e4b9 100644 --- a/project/src/ReadForm.cpp +++ b/project/src/ReadForm.cpp @@ -142,13 +142,13 @@ ReadForm::SetupData(NdefMessage* pMsg) AppLog("Error in Image construct"); return r; } - __pLeftItemBitmap = pImage->DecodeN(L"/Res/Left_arrow.png", BITMAP_PIXEL_FORMAT_ARGB8888); + __pLeftItemBitmap = pImage->DecodeN(App::GetInstance()->GetAppRootPath() + L"/Res/Left_arrow.png", BITMAP_PIXEL_FORMAT_ARGB8888); if (__pLeftItemBitmap == null) { AppLog("Unable to Load Left button image, not creating form now..."); return E_FAILURE; } - __pRightItemBitmap = pImage->DecodeN(L"/Res/Right_arrow.png", BITMAP_PIXEL_FORMAT_ARGB8888); + __pRightItemBitmap = pImage->DecodeN(App::GetInstance()->GetAppRootPath() + L"/Res/Right_arrow.png", BITMAP_PIXEL_FORMAT_ARGB8888); if (__pRightItemBitmap == null) { AppLog("Unable to Load Right button image, not creating form now..."); -- 2.7.4