Author: greatlrd
Date: Mon Nov 27 18:45:23 2006
New Revision: 24850
URL:
http://svn.reactos.org/svn/reactos?rev=24850&view=rev
Log:
fixing a small bug : LTEXT, GROUPBOX, DEFPUSHBUTTON, PUSHBUTTON, ICON, EDITTEXT, LISTBOX,
COMBOBOX (function DialogCMDBuild1) adding a emty style tag to thuse xml syntax.
fixing a small bug : Rename MENUSEPARATOR to MENUITEMSEPERATOR
Thanks frik85
Modified:
trunk/rosapps/devutils/roswebparser/roswebparser.c
Modified: trunk/rosapps/devutils/roswebparser/roswebparser.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/devutils/roswebparser/rosw…
==============================================================================
--- trunk/rosapps/devutils/roswebparser/roswebparser.c (original)
+++ trunk/rosapps/devutils/roswebparser/roswebparser.c Mon Nov 27 18:45:23 2006
@@ -1167,7 +1167,7 @@
trim(output_resid);
if (strcmp(output_resid,"SEPARATOR")==0)
{
- sprintf(output_format,"%s<obj
type=\"MENUSEPARATOR\"></obj>\n",output_format);
+ sprintf(output_format,"%s<obj
type=\"MENUITEMSEPERATOR\"></obj>\n",output_format);
*output_resid='\0';
}
else
@@ -1620,12 +1620,23 @@
output_format[size]='\0';
foundPos=0;
find_str(' ',extra,&foundPos);
- }
-
- if (*output_resid!='\0')
-
sprintf(output_format,"%s\"><![CDATA[%s]]></obj>\n",output_format,output_resid);
+
+ if (*output_resid!='\0')
+ {
+
sprintf(output_format,"%s\"><![CDATA[%s]]></obj>\n",output_format,output_resid);
+ }
+ else
+ {
+ sprintf(output_format,"%s\"></obj>\n",output_format);
+ }
+ }
else
- sprintf(output_format,"%s\"></obj>\n",output_format);
+ {
+ if (*output_resid!='\0')
+ sprintf(output_format,"%s\"
style=\"\"><![CDATA[%s]]></obj>\n",output_format,output_resid);
+ else
+ sprintf(output_format,"%s\"
style=\"\"></obj>\n",output_format);
+ }
*output_resid='\0';
}