summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-21 01:52:50 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-21 01:52:50 +0000
commit6878e62b7c3ded87409d5cff84d8f1bee1fb4ce5 (patch)
tree3ecdd6e6ab27b29f5baeab02505b0ffa0a077649 /chrome/browser/gtk
parent3ab245c26d788cd3482f6c96386dafd5b63a7eb1 (diff)
downloadchromium_src-6878e62b7c3ded87409d5cff84d8f1bee1fb4ce5.zip
chromium_src-6878e62b7c3ded87409d5cff84d8f1bee1fb4ce5.tar.gz
chromium_src-6878e62b7c3ded87409d5cff84d8f1bee1fb4ce5.tar.bz2
Fix WindowGetViewBounds bustage... I had the sense of this conditional inverted.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42193 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk')
-rw-r--r--chrome/browser/gtk/gtk_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/gtk_util.cc b/chrome/browser/gtk/gtk_util.cc
index 305a411..44dd69c 100644
--- a/chrome/browser/gtk/gtk_util.cc
+++ b/chrome/browser/gtk/gtk_util.cc
@@ -504,7 +504,7 @@ void SetButtonTriggersNavigation(GtkWidget* button) {
}
int MirroredLeftPointForRect(GtkWidget* widget, const gfx::Rect& bounds) {
- if (base::i18n::IsRTL())
+ if (!base::i18n::IsRTL())
return bounds.x();
return widget->allocation.width - bounds.x() - bounds.width();
}