From d7e3747b499bd432fffb2fbcd5ceaed786b8efe5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 16 Nov 2004 17:32:15 +0000 Subject: [PATCH] Fix a copy-and-paste error. (#158459) 2004-11-16 Matthias Clasen * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a copy-and-paste error. (#158459) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-6 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gdk/win32/gdkevents-win32.c | 2 +- 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 52225956b1..6b14eafb4c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ 2004-11-16 Matthias Clasen + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a + copy-and-paste error. (#158459) + * demos/gtk-demo/*.c: Don't include config.h in the examples. Tue Nov 16 00:08:07 2004 Jonathan Blandford diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 52225956b1..6b14eafb4c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -5,6 +5,9 @@ 2004-11-16 Matthias Clasen + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a + copy-and-paste error. (#158459) + * demos/gtk-demo/*.c: Don't include config.h in the examples. Tue Nov 16 00:08:07 2004 Jonathan Blandford diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 52225956b1..6b14eafb4c 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -5,6 +5,9 @@ 2004-11-16 Matthias Clasen + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a + copy-and-paste error. (#158459) + * demos/gtk-demo/*.c: Don't include config.h in the examples. Tue Nov 16 00:08:07 2004 Jonathan Blandford diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 52225956b1..6b14eafb4c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -5,6 +5,9 @@ 2004-11-16 Matthias Clasen + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a + copy-and-paste error. (#158459) + * demos/gtk-demo/*.c: Don't include config.h in the examples. Tue Nov 16 00:08:07 2004 Jonathan Blandford diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 8cc9fbdfca..3e14cf904e 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -3282,7 +3282,7 @@ gdk_event_translate (GdkDisplay *display, maxw = rect.right - rect.left; maxh = rect.bottom - rect.top; mmi->ptMaxTrackSize.x = maxw > 0 && maxw < G_MAXSHORT ? maxw : G_MAXSHORT; - mmi->ptMaxTrackSize.y = maxh > 0 && maxh < G_MAXSHORT ? maxw : G_MAXSHORT; + mmi->ptMaxTrackSize.y = maxh > 0 && maxh < G_MAXSHORT ? maxh : G_MAXSHORT; } if (impl->hint_flags & (GDK_HINT_MIN_SIZE | GDK_HINT_MAX_SIZE))