diff src/balloon_help.c @ 203:850242ba4a81 r20-3b28

Import from CVS: tag r20-3b28
author cvs
date Mon, 13 Aug 2007 10:02:21 +0200
parents 15872534500d
children 41ff10fd062f
line wrap: on
line diff
--- a/src/balloon_help.c	Mon Aug 13 10:01:24 2007 +0200
+++ b/src/balloon_help.c	Mon Aug 13 10:02:21 2007 +0200
@@ -83,7 +83,7 @@
 static int    b_maskWidth, b_maskHeight;
 static GC     b_maskGC;
 
-static const char* b_text;
+static CONST char* b_text;
 static int b_width, b_height;
 
 static int b_lastX, b_lastY;
@@ -216,7 +216,7 @@
 ============================================================================*/
 
 static void
-text_extent (XFontStruct* fontStruct, const char* text, int len,
+text_extent (XFontStruct* fontStruct, CONST char* text, int len,
 	     int* width, int* height)
 {
   XCharStruct extent;
@@ -229,13 +229,13 @@
 }
 
 static void
-get_text_size (Display* dpy, XFontStruct* fontStruct, const char* text,
+get_text_size (Display* dpy, XFontStruct* fontStruct, CONST char* text,
 	       int* max_width, int* max_height)
 {
   int width;
   int height;
-  const char* start;
-  const char* end;
+  CONST char* start;
+  CONST char* end;
 
   *max_width = *max_height = 0;
 
@@ -259,10 +259,10 @@
 
 static void
 draw_text (Display* dpy, Window win, GC gc, XFontStruct* fontStruct,
-	   int x, int y, const char* text)
+	   int x, int y, CONST char* text)
 {
-  const char* start;
-  const char* end;
+  CONST char* start;
+  CONST char* end;
   int font_height;
 
   y += fontStruct->ascent;
@@ -543,7 +543,7 @@
 }
 
 void
-balloon_help_show (const char* text)
+balloon_help_show (CONST char* text)
 {
   assert (b_dpy != NULL);