Browse Source

NULL filename

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

2
src/Image.cc

@ -156,7 +156,7 @@ Image::SetOnerror(Local<String>, Local<Value> val, const AccessorInfo &info) {
*/
Image::Image() {
filename = (char *) "";
filename = NULL;
_surface = NULL;
width = height = 0;
state = DEFAULT;

Loading…
Cancel
Save