Greetings,

Here is a patch which fixes several trivial typos in fvwm 2.5.x CVS tree
which I recently discovered:

silde -> slide
somthing -> something
unkown -> unknown
unknow -> unknown
PGraphicsCreateTransprency -> PGraphicsCreateTransparency (renamed
function everywhere in the source tree)

Also, I fixed typo in 'TitleColorset' style description in the 'fvwm'
manpage.

Best wishes!

-- 
Serge Koksharov, Free Software user & supporter
GPG public key ID: 0x3D330896 (pgp.mit.edu)
Key fingerprint: 5BC4 0475 CB03 6A31 0076  82C2 C240 72F0 3D33 0896
diff -Naur fvwmCVS-orig/ChangeLog fvwmCVS-fixed/ChangeLog
--- fvwmCVS-orig/ChangeLog      2006-05-09 21:08:13.000000000 +0400
+++ fvwmCVS-fixed/ChangeLog     2006-05-09 21:26:56.000000000 +0400
@@ -1,3 +1,19 @@
+2006-05-09  Serge Koksharov  <gentoosiast dog yandex dot ru>
+
+       * fvwm/ewmh_events.c:
+       * fvwm/fvwm.1.in:
+       * fvwm/gnome.c:
+       * libs/FlocaleCharset.c:
+       corrected typos
+
+       * libs/Flocale.c:
+       corrected typos in warning messages
+
+       * libs/Colorset.c:
+       * libs/PictureGraphics.c:
+       * libs/PictureGraphics.h:
+       renamed function PGraphicsCreateTransprency to 
PGraphicsCreateTransparency
+
 2006-04-17  Viktor Griph  <[EMAIL PROTECTED]>
 
        * fvwm/fvwm.1.in (COMMAND EXPANSION): 
diff -Naur fvwmCVS-orig/fvwm/ewmh_events.c fvwmCVS-fixed/fvwm/ewmh_events.c
--- fvwmCVS-orig/fvwm/ewmh_events.c     2006-05-09 21:08:11.000000000 +0400
+++ fvwmCVS-fixed/fvwm/ewmh_events.c    2006-05-09 21:19:26.000000000 +0400
@@ -1333,7 +1333,7 @@
        unsigned int size;
        CARD32 *val;
 
-       /* FIXME: After a (un)silde of kicker the geometry are wrong (not
+       /* FIXME: After a (un)slide of kicker the geometry are wrong (not
         * because we set the geometry just after the property notify).  This
         * does not happen with kwin */
        val = ewmh_AtomGetByName(
diff -Naur fvwmCVS-orig/fvwm/fvwm.1.in fvwmCVS-fixed/fvwm/fvwm.1.in
--- fvwmCVS-orig/fvwm/fvwm.1.in 2006-05-09 21:08:11.000000000 +0400
+++ fvwmCVS-fixed/fvwm/fvwm.1.in        2006-05-09 21:26:49.000000000 +0400
@@ -3078,7 +3078,7 @@
 .I TitleColorset
 works exactly like
 .IR MenuColorset ,
-but is user only for menu titles.
+but is used only for menu titles.
 
 .IR Hilight3DThick ", " Hilight3DThin " and " Hilight3DOff
 determine if the selected menu item is hilighted with a 3D
diff -Naur fvwmCVS-orig/fvwm/gnome.c fvwmCVS-fixed/fvwm/gnome.c
--- fvwmCVS-orig/fvwm/gnome.c   2006-05-09 21:08:12.000000000 +0400
+++ fvwmCVS-fixed/fvwm/gnome.c  2006-05-09 21:20:07.000000000 +0400
@@ -1070,7 +1070,7 @@
        }
        /*--------------------------------------------------------------------
          First change the props on the window so the gnome app knows we did
-         somthing.
+         something.
          --------------------------------------------------------------------*/
 #ifdef FVWM_DEBUG_MSGS
        fvwm_msg(
diff -Naur fvwmCVS-orig/libs/Colorset.c fvwmCVS-fixed/libs/Colorset.c
--- fvwmCVS-orig/libs/Colorset.c        2006-05-09 21:08:12.000000000 +0400
+++ fvwmCVS-fixed/libs/Colorset.c       2006-05-09 21:23:13.000000000 +0400
@@ -386,7 +386,7 @@
                fra.tint = colorset->tint;
                fra.tint_percent = colorset->tint_percent;
                XGrabServer(dpy);
-               pixmap = PGraphicsCreateTransprency(
+               pixmap = PGraphicsCreateTransparency(
                        dpy, win, &fra, gc, 0, 0, width, height, True);
                XUngrabServer(dpy);
                if (pixmap == None)
diff -Naur fvwmCVS-orig/libs/Flocale.c fvwmCVS-fixed/libs/Flocale.c
--- fvwmCVS-orig/libs/Flocale.c 2006-05-09 21:08:12.000000000 +0400
+++ fvwmCVS-fixed/libs/Flocale.c        2006-05-09 21:15:01.000000000 +0400
@@ -1548,7 +1548,7 @@
                if (flf->fc == FlocaleCharsetGetUnknownCharset())
                {
                        fprintf(stderr,"[%s][FlocaleLoadFont]: "
-                               "WARNING -- Unkown charset for font\n\t'%s'\n",
+                               "WARNING -- Unknown charset for font\n\t'%s'\n",
                                (module)? module: "FVWMlibs", flf->name);
                        flf->fc = FlocaleCharsetGetDefaultCharset(dpy, module);
                }
@@ -1558,7 +1558,7 @@
                           flf->fftf.str_encoding != NULL)))
                {
                        fprintf(stderr,"[%s][FlocaleLoadFont]: "
-                               "WARNING -- Unkown string encoding for font\n"
+                               "WARNING -- Unknown string encoding for font\n"
                                "\t'%s'\n",
                                (module)? module: "FVWMlibs", flf->name);
                }
diff -Naur fvwmCVS-orig/libs/FlocaleCharset.c 
fvwmCVS-fixed/libs/FlocaleCharset.c
--- fvwmCVS-orig/libs/FlocaleCharset.c  2006-05-09 21:08:12.000000000 +0400
+++ fvwmCVS-fixed/libs/FlocaleCharset.c 2006-05-09 21:14:09.000000000 +0400
@@ -317,7 +317,7 @@
 #endif
 
 static
-FlocaleCharset UnkownCharset =
+FlocaleCharset UnknownCharset =
        {"Unknown", nullsl, FLC_INDEX_ICONV_CHARSET_NOT_FOUND, NULL};
 
 /* the table contains all Xorg "charset" plus some others */
@@ -663,7 +663,7 @@
                }
                else
                {
-                       CopyString(&fc->x, "Unkown"); /* for simplicity */
+                       CopyString(&fc->x, "Unknown"); /* for simplicity */
                        fc->bidi = NULL;
                        fc->encoding_type = FLC_ENCODING_TYPE_FONT;
                }
@@ -679,7 +679,7 @@
        }
        if (flf->fc == NULL)
        {
-               flf->fc = &UnkownCharset;
+               flf->fc = &UnknownCharset;
        }
 
        /* now the string charset */
@@ -692,7 +692,7 @@
                }
                if (flf->str_fc == NULL)
                {
-                       flf->str_fc = &UnkownCharset;
+                       flf->str_fc = &UnknownCharset;
                }
        }
        else if (FftSupport && flf->fftf.fftfont != NULL)
@@ -708,7 +708,7 @@
                        }
                        if (flf->str_fc == NULL)
                        {
-                               flf->str_fc = &UnkownCharset;
+                               flf->str_fc = &UnknownCharset;
                        }
                }
                else
@@ -719,7 +719,7 @@
        }
        if (flf->str_fc == NULL)
        {
-               if (flf->fc != &UnkownCharset)
+               if (flf->fc != &UnknownCharset)
                {
                        flf->str_fc = flf->fc;
                }
@@ -784,7 +784,7 @@
 
 FlocaleCharset *FlocaleCharsetGetUnknownCharset(void)
 {
-       return &UnkownCharset;
+       return &UnknownCharset;
 }
 
 const char *FlocaleGetBidiCharset(Display *dpy, FlocaleCharset *fc)
diff -Naur fvwmCVS-orig/libs/PictureGraphics.c 
fvwmCVS-fixed/libs/PictureGraphics.c
--- fvwmCVS-orig/libs/PictureGraphics.c 2006-05-09 21:08:12.000000000 +0400
+++ fvwmCVS-fixed/libs/PictureGraphics.c        2006-05-09 21:23:54.000000000 
+0400
@@ -1191,7 +1191,7 @@
        return q;
 }
 
-Pixmap PGraphicsCreateTransprency(
+Pixmap PGraphicsCreateTransparency(
        Display *dpy, Window win, FvwmRenderAttributes *fra, GC gc,
        int x, int y, int width, int height, Bool parent_relative)
 {
@@ -1325,7 +1325,7 @@
                fra.tint = tint;
                fra.tint_percent = tint_percent;
                fra.mask = FRAM_DEST_IS_A_WINDOW | FRAM_HAVE_TINT;
-               p = PGraphicsCreateTransprency(
+               p = PGraphicsCreateTransparency(
                        dpy, dest, &fra, gc, dest_x, dest_y, dest_w, dest_h,
                        False);
                if (p)
diff -Naur fvwmCVS-orig/libs/PictureGraphics.h 
fvwmCVS-fixed/libs/PictureGraphics.h
--- fvwmCVS-orig/libs/PictureGraphics.h 2006-05-09 21:08:12.000000000 +0400
+++ fvwmCVS-fixed/libs/PictureGraphics.h        2006-05-09 21:24:12.000000000 
+0400
@@ -114,7 +114,7 @@
        Display *dpy, Window win, FvwmPicture *src,
        int dest_width, int dest_height, GC gc, GC mono_gc, GC alpha_gc);
 
-Pixmap PGraphicsCreateTransprency(
+Pixmap PGraphicsCreateTransparency(
        Display *dpy, Window win, FvwmRenderAttributes *fra, GC gc,
        int x, int y, int width, int height, Bool parent_relative);
 
diff -Naur fvwmCVS-orig/modules/ChangeLog fvwmCVS-fixed/modules/ChangeLog
--- fvwmCVS-orig/modules/ChangeLog      2006-05-09 21:08:13.000000000 +0400
+++ fvwmCVS-fixed/modules/ChangeLog     2006-05-09 21:18:31.000000000 +0400
@@ -1,3 +1,9 @@
+2006-05-09  Serge Koksharov  <gentoosiast dog yandex dot ru>
+
+       * FvwmScript/Scripts/FvwmScript-ComExample.in:
+       * FvwmTaskBar/Goodies.c:
+       corrected typos
+
 2006-04-26  Viktor Griph  <[EMAIL PROTECTED]>
 
        * FvwmPager/FvwmPag
diff -Naur fvwmCVS-orig/modules/FvwmScript/Scripts/FvwmScript-ComExample.in 
fvwmCVS-fixed/modules/FvwmScript/Scripts/FvwmScript-ComExample.in
--- fvwmCVS-orig/modules/FvwmScript/Scripts/FvwmScript-ComExample.in    
2006-05-09 21:08:12.000000000 +0400
+++ fvwmCVS-fixed/modules/FvwmScript/Scripts/FvwmScript-ComExample.in   
2006-05-09 21:16:49.000000000 +0400
@@ -96,12 +96,12 @@
     Position 30 100
     Size 150 20
     Type PushButton
-    Title {Send An Unkown Msg}
+    Title {Send An Unknown Msg}
 Main
 Case message of
     SingleClic :
     Begin
-       Set $tmp = (SendMsgAndGet $ComName {unkown} 1)
+       Set $tmp = (SendMsgAndGet $ComName {unknown} 1)
        Set $tmp = {Returned value: }$tmp
        ChangeTitle 31 $tmp
     End
diff -Naur fvwmCVS-orig/modules/FvwmTaskBar/Goodies.c 
fvwmCVS-fixed/modules/FvwmTaskBar/Goodies.c
--- fvwmCVS-orig/modules/FvwmTaskBar/Goodies.c  2006-05-09 21:08:12.000000000 
+0400
+++ fvwmCVS-fixed/modules/FvwmTaskBar/Goodies.c 2006-05-09 21:18:29.000000000 
+0400
@@ -284,7 +284,7 @@
     using_MailDir = True;
     break;
   default:
-    /* unknow option */
+    /* unknown option */
     return False;
   } /* switch */
 

Reply via email to