]> git.decadent.org.uk Git - videolink.git/commitdiff
Don't check for NS_IMAGELIB_ERROR_LOAD_ABORTED if it's not defined
authorBen Hutchings <ben@decadent.org.uk>
Thu, 3 Mar 2011 03:06:49 +0000 (03:06 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Mar 2011 03:42:20 +0000 (03:42 +0000)
videolink.cpp

index 2a1295b20235818230f887f992398b0ece82420d..173b0dc295530bd6b7f1d9dbf5d4e600c7764bc3 100644 (file)
@@ -423,7 +423,9 @@ namespace
        {
            // Check whether the load was successful, ignoring this
            // pseudo-error.
+#ifdef NS_IMAGELIB_ERROR_LOAD_ABORTED
            if (status != NS_IMAGELIB_ERROR_LOAD_ABORTED)
+#endif
                check(status);
 
            pending_window_update_ = false;