[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r1592: Good thing Roger caught my backwards logic. (trunk/src/util)



Author: edmanm
Date: 2007-01-15 19:21:44 -0500 (Mon, 15 Jan 2007)
New Revision: 1592

Modified:
   trunk/src/util/zlibbytearray.cpp
Log:
Good thing Roger caught my backwards logic.


Modified: trunk/src/util/zlibbytearray.cpp
===================================================================
--- trunk/src/util/zlibbytearray.cpp	2007-01-15 23:25:55 UTC (rev 1591)
+++ trunk/src/util/zlibbytearray.cpp	2007-01-16 00:21:44 UTC (rev 1592)
@@ -107,7 +107,7 @@
    * not compatible with the zlib.h header file used by the application." */
   QString libVersion(zlibVersion());
   QString headerVersion(ZLIB_VERSION);
-  if (!libVersion.isEmpty() && !headerVersion.isEmpty() &&
+  if (libVersion.isEmpty() || headerVersion.isEmpty() ||
       libVersion.at(0) != headerVersion.at(0))
     isZlibAvailable = 0;
   else