Enlightenment CVS committal

Author  : mej
Project : eterm
Module  : Eterm

Dir     : eterm/Eterm/src


Modified Files:
      Tag: ETERM-0_10
        options.c script.c 


Log Message:
Fri Nov  7 12:31:35 2003                        Michael Jennings (mej)

 __  __                     
|  \/  | ___ _ __ __ _  ___ 
| |\/| |/ _ \ '__/ _` |/ _ \
| |  | |  __/ | | (_| |  __/
|_|  |_|\___|_|  \__, |\___|
                 |___/      

===================================================================
RCS file: /cvsroot/enlightenment/eterm/Eterm/src/options.c,v
retrieving revision 1.102.2.12
retrieving revision 1.102.2.13
diff -u -3 -r1.102.2.12 -r1.102.2.13
--- options.c   7 Oct 2003 00:48:28 -0000       1.102.2.12
+++ options.c   7 Nov 2003 17:38:24 -0000       1.102.2.13
@@ -21,7 +21,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: options.c,v 1.102.2.12 2003/10/07 00:48:28 mej 
Exp $";
+static const char cvs_ident[] = "$Id: options.c,v 1.102.2.13 2003/11/07 17:38:24 mej 
Exp $";
 
 #include "config.h"
 #include "feature.h"
@@ -979,7 +979,7 @@
     } else if (!BEG_STRCASECMP(buff, "font ")) {
 
         char *tmp = get_pword(2, buff);
-        unsigned char n;
+        unsigned long n;
 
         if (!BEG_STRCASECMP(tmp, "fx ") || !BEG_STRCASECMP(tmp, "effect")) {
             if (parse_font_fx(get_pword(2, tmp)) != 1) {
@@ -997,7 +997,7 @@
                             file_peek_path(), file_peek_line());
             }
         } else if (isdigit(*tmp)) {
-            n = (unsigned char) strtoul(tmp, (char **) NULL, 0);
+            n = strtoul(tmp, (char **) NULL, 0);
             if (n <= 255) {
                 eterm_font_add(&etfonts, get_pword(2, tmp), n);
             } else {
@@ -2351,7 +2351,7 @@
     } else if (!BEG_STRCASECMP(buff, "font ")) {
 
         char *tmp = get_pword(2, buff);
-        unsigned char n;
+        unsigned long n;
 
         if (num_words(buff) != 3) {
             print_error("Parse error in file %s, line %lu:  Invalid parameter list 
\"%s\" for attribute font\n",
@@ -2359,7 +2359,7 @@
             return NULL;
         }
         if (isdigit(*tmp)) {
-            n = (unsigned char) strtoul(tmp, (char **) NULL, 0);
+            n = strtoul(tmp, (char **) NULL, 0);
             if (n <= 255) {
                 eterm_font_add(&etmfonts, get_pword(2, tmp), n);
             } else {
===================================================================
RCS file: /cvsroot/enlightenment/eterm/Eterm/src/script.c,v
retrieving revision 1.15.2.5
retrieving revision 1.15.2.6
diff -u -3 -r1.15.2.5 -r1.15.2.6
--- script.c    3 Mar 2003 06:20:59 -0000       1.15.2.5
+++ script.c    7 Nov 2003 17:38:25 -0000       1.15.2.6
@@ -21,7 +21,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: script.c,v 1.15.2.5 2003/03/03 06:20:59 mej Exp 
$";
+static const char cvs_ident[] = "$Id: script.c,v 1.15.2.6 2003/11/07 17:38:25 mej Exp 
$";
 
 #include "config.h"
 #include "feature.h"
@@ -316,6 +316,8 @@
 {
     if (params && *params) {
         scr_dump_to_file(params[0]);
+    } else {
+        scr_dump();
     }
 }
 




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to