lkml.org 
[lkml]   [2006]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/3] kconfig/lxdialog: add support for color themes and add blackbg theme
    Hi,

    On Mon, 24 Jul 2006, Sam Ravnborg wrote:

    > +static int set_color_theme(const char *theme)
    > +{
    > + int use_color = 1;
    > + if (!strncasecmp (theme, "blackbg", sizeof("blackbg")))
    > + set_blackbg_theme();
    > + else if (!strncasecmp(theme, "mono", sizeof("mono")))
    > + use_color = 0;
    > + return use_color;
    > +}

    This segfaults if MENUCONFIG_COLOR isn't set.

    bye, Roman
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-24 14:29    [W:0.020 / U:58.964 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site