esc/esc-1.0.1-elif.patch

15 lines
440 B
Diff

Patch by Robert Scheck <robert@fedoraproject.org> for esc >= 1.0.1, that corrects
the preprocessor conditional from empty (wrong) elif to else.
--- mozilla/toolkit/xre/nsAppRunner.cpp 2006-04-06 19:27:00.000000000 +0200
+++ mozilla/toolkit/xre/nsAppRunner.cpp.elif 2009-04-14 05:35:25.000000000 +0200
@@ -1157,7 +1157,7 @@
if (NS_FAILED(rv))
return rv;
-#elif
+#else
#error Oops, you need platform-specific code here
#endif