User:Cgomes7/patch1.patch

From CDOT Wiki
< User:Cgomes7
Revision as of 10:59, 7 April 2011 by Cgomes7 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Patches

Patch 1

diff --git a/layout/generic/nsImageMap.cpp b/layout/generic/nsImageMap.cpp
--- a/layout/generic/nsImageMap.cpp
+++ b/layout/generic/nsImageMap.cpp
@@ -107,22 +107,17 @@ Area::~Area()
   delete [] mCoords;
 }
 
 #include <stdlib.h>
 
 inline PRBool
 is_space(char c)
 {
-  return (c == ' ' ||
-          c == '\f' ||
-          c == '\n' ||
-          c == '\r' ||
-          c == '\t' ||
-          c == '\v');
+  return c == ' ';
 }
 
 static void logMessage(nsIContent*      aContent,
                        const nsAString& aCoordsSpec,
                        PRInt32          aFlags,
                        const char* aMessageName) {
   nsIDocument* doc = aContent->GetOwnerDoc();