Merge pull request #10549 from mogemimi/fix-typo

Fix typo in Image::Format
This commit is contained in:
minggo 2015-02-25 09:32:58 +08:00
commit c2479adc59
6 changed files with 7 additions and 7 deletions

View File

@ -609,7 +609,7 @@ ActionInterval* CCBAnimationManager::getEaseAction(ActionInterval *pAction, CCBK
} }
else else
{ {
log("CCBReader: Unkown easing type %d", static_cast<int>(easingType)); log("CCBReader: Unknown easing type %d", static_cast<int>(easingType));
return pAction; return pAction;
} }
} }

View File

@ -646,7 +646,7 @@ static void processResponse(HttpResponse* response, std::string& responseMessage
HttpRequest::Type::PUT != requestType && HttpRequest::Type::PUT != requestType &&
HttpRequest::Type::DELETE != requestType) HttpRequest::Type::DELETE != requestType)
{ {
CCASSERT(true, "CCHttpClient: unkown request type, only GET、POST、PUT、DELETE are supported"); CCASSERT(true, "CCHttpClient: unknown request type, only GET、POST、PUT、DELETE are supported");
return; return;
} }

View File

@ -335,7 +335,7 @@ static void processResponse(HttpResponse* response, char* errorBuffer)
break; break;
default: default:
CCASSERT(true, "CCHttpClient: unkown request type, only GET and POSt are supported"); CCASSERT(true, "CCHttpClient: unknown request type, only GET and POSt are supported");
break; break;
} }

View File

@ -405,7 +405,7 @@ static void processResponse(HttpResponse* response, char* errorBuffer)
break; break;
default: default:
CCASSERT(true, "CCHttpClient: unkown request type, only GET and POSt are supported"); CCASSERT(true, "CCHttpClient: unknown request type, only GET and POSt are supported");
break; break;
} }

View File

@ -457,7 +457,7 @@ Image::Image()
, _width(0) , _width(0)
, _height(0) , _height(0)
, _unpack(false) , _unpack(false)
, _fileType(Format::UNKOWN) , _fileType(Format::UNKNOWN)
, _renderFormat(Texture2D::PixelFormat::NONE) , _renderFormat(Texture2D::PixelFormat::NONE)
, _numberOfMipmaps(0) , _numberOfMipmaps(0)
, _hasPremultipliedAlpha(true) , _hasPremultipliedAlpha(true)
@ -742,7 +742,7 @@ Image::Format Image::detectFormat(const unsigned char * data, ssize_t dataLen)
} }
else else
{ {
return Format::UNKOWN; return Format::UNKNOWN;
} }
} }

View File

@ -92,7 +92,7 @@ public:
//! Raw Data //! Raw Data
RAW_DATA, RAW_DATA,
//! Unknown format //! Unknown format
UNKOWN UNKNOWN
}; };
/** /**