Fix off-by-one allocation errors. (#143337, Billy Biggs)
Fri May 28 14:20:17 2004 Matthias Clasen <maclas@gmx.de> * gdk/x11/gdkevents-x11.c: Fix off-by-one allocation errors. (#143337, Billy Biggs)
This commit is contained in:
		
				
					committed by
					
						
						Matthias Clasen
					
				
			
			
				
	
			
			
			
						parent
						
							ac8b3dc1ae
						
					
				
				
					commit
					588b8c7f71
				
			@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					Fri May 28 14:20:17 2004  Matthias Clasen  <maclas@gmx.de>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/x11/gdkevents-x11.c: Fix off-by-one allocation 
 | 
				
			||||||
 | 
						errors. (#143337, Billy Biggs) 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
 | 
					Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
 | 
						* gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					Fri May 28 14:20:17 2004  Matthias Clasen  <maclas@gmx.de>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/x11/gdkevents-x11.c: Fix off-by-one allocation 
 | 
				
			||||||
 | 
						errors. (#143337, Billy Biggs) 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
 | 
					Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
 | 
						* gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					Fri May 28 14:20:17 2004  Matthias Clasen  <maclas@gmx.de>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/x11/gdkevents-x11.c: Fix off-by-one allocation 
 | 
				
			||||||
 | 
						errors. (#143337, Billy Biggs) 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
 | 
					Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
 | 
						* gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
 | 
				
			||||||
 | 
				
			|||||||
@ -1,3 +1,8 @@
 | 
				
			|||||||
 | 
					Fri May 28 14:20:17 2004  Matthias Clasen  <maclas@gmx.de>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						* gdk/x11/gdkevents-x11.c: Fix off-by-one allocation 
 | 
				
			||||||
 | 
						errors. (#143337, Billy Biggs) 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
 | 
					Thu May 27 16:36:22 2004  Owen Taylor  <otaylor@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
 | 
						* gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): Set
 | 
				
			||||||
 | 
				
			|||||||
@ -787,14 +787,14 @@ get_real_window (GdkDisplay *display,
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef G_ENABLE_DEBUG
 | 
					#ifdef G_ENABLE_DEBUG
 | 
				
			||||||
static const char notify_modes[][18] = {
 | 
					static const char notify_modes[][19] = {
 | 
				
			||||||
  "NotifyNormal",
 | 
					  "NotifyNormal",
 | 
				
			||||||
  "NotifyGrab",
 | 
					  "NotifyGrab",
 | 
				
			||||||
  "NotifyUngrab",
 | 
					  "NotifyUngrab",
 | 
				
			||||||
  "NotifyWhileGrabbed"
 | 
					  "NotifyWhileGrabbed"
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const char notify_details[][22] = {
 | 
					static const char notify_details[][23] = {
 | 
				
			||||||
  "NotifyAncestor",
 | 
					  "NotifyAncestor",
 | 
				
			||||||
  "NotifyVirtual",
 | 
					  "NotifyVirtual",
 | 
				
			||||||
  "NotifyInferior",
 | 
					  "NotifyInferior",
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user