diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-02-02 22:19:31 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-02-02 22:19:31 +0000 |
commit | a2d1299475cb8f34f99e420ef752bf9366275bf7 (patch) | |
tree | 1a7dd40f663b198d7e525ea07a6a84a63f6e783e /gtk/fnmatch.c | |
parent | a1a252ce46b50ff199e5ee084036267455b9ec5b (diff) | |
download | gdk-pixbuf-a2d1299475cb8f34f99e420ef752bf9366275bf7.tar.gz |
Make gdk_colormap_sync private since it was never exported in a header
Fri Feb 2 17:16:09 2001 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkcolor-x11.c (gdk_colormap_sync): Make
gdk_colormap_sync private since it was never exported
in a header file.
* gdk/x11/gdkcolor-x11.c (gdk_colormap_new): Fill in
colormap->colors[] for StaticGray, StaticColor colormaps.
* gdk/gdkpixbuf-drawable.c: Fix problems where image->bpp
was being used as if it was image->bits_per_pixel.
* gdk/gdkimage.h, gdk/x11/gdkimage-x11.c: Save the bits-per-pixel
for the image in the GdkImage structure since it isn't
reconstructable, and we need it to handle packed types
* gdk/win32/gdkimage-win32.c: Set image->bits_per_pixel. (I'm making
the assumption that on Win32 image->bits_per_pixel == image->depth,
always.
* gdk/linux-fb/gdkimage-fb.c: Set image->bits_per_pixel.
* gdk/gdkrgb.c (gdk_rgb_select_conv): Exit with an informative
warning message if no converter can be found.
Diffstat (limited to 'gtk/fnmatch.c')
-rw-r--r-- | gtk/fnmatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/fnmatch.c b/gtk/fnmatch.c index 79065e6cd..b4ba3c7f0 100644 --- a/gtk/fnmatch.c +++ b/gtk/fnmatch.c @@ -68,9 +68,9 @@ fnmatch (pattern, string, flags) /* Note that this evalutes C many times. */ #if !defined(G_OS_WIN32) && !defined(G_WITH_CYGWIN) -#define FOLD(c) ((flags & FNM_CASEFOLD) && isupper (c) ? tolower (c) : (c)) +#define FOLD(c) ((flags & FNM_CASEFOLD) && isupper ((unsigned char )(c)) ? tolower ((unsigned char)(c)) : (c)) #else -#define FOLD(c) (tolower (c)) +#define FOLD(c) (tolower ((unsigned char)(c))) #endif while ((c = *p++) != '\0') |