xserver: Branch 'master'

Keith Packard keithp at kemper.freedesktop.org
Wed May 19 22:23:11 PDT 2010


 hw/xfree86/common/xf86Configure.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c620a1c0a4ca564e778cce019dd30046c6969956
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date:   Thu May 20 10:26:56 2010 +1000

    xfree86: fix typo in optionTypeToSting.
    
    Because we don't want anyone to get hurt.
    
    Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
    Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Signed-off-by: Keith Packard <keithp at keithp.com>

diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c
index c590bda..7d4c341 100644
--- a/hw/xfree86/common/xf86Configure.c
+++ b/hw/xfree86/common/xf86Configure.c
@@ -322,7 +322,7 @@ configureScreenSection (int screennum)
 }
 
 static const char* 
-optionTypeToSting(OptionValueType type)
+optionTypeToString(OptionValueType type)
 {
     switch (type) {
     case OPTV_NONE:
@@ -397,7 +397,7 @@ configureDeviceSection (int screennum)
 		const char *prefix = "        #Option     ";
 		const char *middle = " \t# ";
 		const char *suffix = "\n";
-		const char *opttype = optionTypeToSting(p->type);
+		const char *opttype = optionTypeToString(p->type);
 		char *optname;
 		int len = strlen(ptr->dev_comment) + strlen(prefix) +
 			  strlen(middle) + strlen(suffix) + 1;


More information about the xorg-commit mailing list