Browse Source

changed image format exception message

v1.x
Tj Holowaychuk 14 years ago
parent
commit
d7f6caae9b
  1. 2
      src/Image.cc

2
src/Image.cc

@ -254,7 +254,7 @@ Image::loadSurface() {
case Image::JPEG: return loadJPEG();
#endif
}
return ThrowException(Exception::Error(String::New("failed to load image")));
return ThrowException(Exception::Error(String::New("failed to detect image format")));
}
/*

Loading…
Cancel
Save