From 59d3cbfe2ed544f2f950e4c7f908f461b977f5c0 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 28 Feb 2013 18:48:11 +0000 Subject: [PATCH] NxWidgets/NxWM updates from Petteri Aimonen (Patches 0007-0013) git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5689 42af7a65-404d-4744-a932-0658087f49c3 --- tools/cfgdefine.c | 8 +++++--- tools/cfgparser.c | 8 ++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/tools/cfgdefine.c b/tools/cfgdefine.c index f026a186f0..ca503c6290 100644 --- a/tools/cfgdefine.c +++ b/tools/cfgdefine.c @@ -1,7 +1,7 @@ /**************************************************************************** * tools/cfgdefine.c * - * Copyright (C) 2007-2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -69,6 +69,8 @@ static const char *dequote_list[] = /* NxWidgets/NxWM */ "CONFIG_NXWM_BACKGROUND_IMAGE", /* Name of bitmap image class */ + "CONFIG_NXWM_STOP_BITMAP", /* Name of bitmap image class */ + "CONFIG_NXWM_MINIMIZE_BITMAP", /* Name of bitmap image class */ "CONFIG_NXWM_STARTWINDOW_ICON", /* Name of bitmap image class */ "CONFIG_NXWM_NXCONSOLE_ICON", /* Name of bitmap image class */ "CONFIG_NXWM_CALIBRATION_ICON", /* Name of bitmap image class */ @@ -82,7 +84,7 @@ static const char *dequote_list[] = ****************************************************************************/ /* Skip over any spaces */ - + static char *skip_space(char *ptr) { while (*ptr && isspace((int)*ptr)) ptr++; @@ -184,7 +186,7 @@ static void parse_line(char *ptr, char **varname, char **varval) /* The variable value should follow =, perhaps separated by some * white space. */ - + ptr = skip_space(ptr + 1); if (*ptr) { diff --git a/tools/cfgparser.c b/tools/cfgparser.c index ac25bd26b3..439dcb9d51 100644 --- a/tools/cfgparser.c +++ b/tools/cfgparser.c @@ -1,7 +1,7 @@ /**************************************************************************** * tools/cfgpaser.c * - * Copyright (C) 2007-2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -62,7 +62,7 @@ char line[LINESIZE+1]; ****************************************************************************/ /* Skip over any spaces */ - + static char *skip_space(char *ptr) { while (*ptr && isspace((int)*ptr)) ptr++; @@ -164,7 +164,7 @@ static void parse_line(char *ptr, char **varname, char **varval) /* The variable value should follow =, perhaps separated by some * white space. */ - + ptr = skip_space(ptr + 1); if (*ptr) { @@ -287,7 +287,7 @@ struct variable_s *find_variable(const char *varname, struct variable_s *list) { return list; } - + list = list->flink; }