[iPhone] Minor Corrections: ZXingWidgets now also builds on release mode. Typo corrected that made compile error

git-svn-id: https://zxing.googlecode.com/svn/trunk@1362 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
rpechayr 2010-05-14 17:21:12 +00:00
parent e8b3606779
commit 71eda605bc
2 changed files with 6 additions and 3 deletions

View file

@ -37,7 +37,7 @@ namespace zxing {
Ref<Result> MultiFormatReader::decode(Ref<BinaryBitmap> image){
for (unsigned int i = 0; i < readers.size(); i++) {
try {
return reader[i]->decode(image);
return readers[i]->decode(image);
} catch (ReaderException re) {
// continue
}

View file

@ -1127,6 +1127,7 @@
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ZXingWidget_Prefix.pch;
HEADER_SEARCH_PATHS = ../../cpp/core/src;
INSTALL_PATH = /usr/local/lib;
PRODUCT_NAME = ZXingWidget;
};
@ -1140,9 +1141,10 @@
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
OTHER_LDFLAGS = "-ObjC";
PREBINDING = NO;
SDKROOT = iphoneos3.2;
SDKROOT = iphoneos3.1.3;
};
name = Debug;
};
@ -1153,9 +1155,10 @@
GCC_C_LANGUAGE_STANDARD = c99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 3.1.3;
OTHER_LDFLAGS = "-ObjC";
PREBINDING = NO;
SDKROOT = iphoneos3.2;
SDKROOT = iphoneos3.1.3;
};
name = Release;
};