[PATCH] xfree86: fix typo in optionTypeToSting.

Matt Turner mattst88 at gmail.com
Mon May 17 18:45:04 PDT 2010


On Mon, May 17, 2010 at 9:15 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> Because we don't want anyone to get hurt.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  hw/xfree86/common/xf86Configure.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/xfree86/common/xf86Configure.c b/hw/xfree86/common/xf86Configure.c
> index 1573cc6..c34ef1d 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;
> --
> 1.7.0.1
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the xorg-devel mailing list