Difference between revisions of "User:Cgomes7/patch1.patch"
(Created page with ''''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 …') |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | ===Patches=== | |
− | |||
+ | '''Patch 1''' | ||
+ | <pre> | ||
diff --git a/layout/generic/nsImageMap.cpp b/layout/generic/nsImageMap.cpp | diff --git a/layout/generic/nsImageMap.cpp b/layout/generic/nsImageMap.cpp | ||
--- a/layout/generic/nsImageMap.cpp | --- a/layout/generic/nsImageMap.cpp | ||
Line 21: | Line 22: | ||
- c == '\t' || | - c == '\t' || | ||
- c == '\v'); | - c == '\v'); | ||
− | + return | + | + return c == ' '; |
} | } | ||
Line 29: | Line 30: | ||
const char* aMessageName) { | const char* aMessageName) { | ||
nsIDocument* doc = aContent->GetOwnerDoc(); | nsIDocument* doc = aContent->GetOwnerDoc(); | ||
+ | </pre> |
Latest revision as of 09:59, 7 April 2011
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();