Changing the shorts in lyx row starts a whole mess of subsequent 'int <->
unsigend int' "conflict", so I left them out.

Andre'

-- 
André Pönitz .............................................. [EMAIL PROTECTED]
Index: lyxlex.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxlex.h,v
retrieving revision 1.25
diff -u -p -r1.25 lyxlex.h
--- lyxlex.h    2001/08/06 19:12:46     1.25
+++ lyxlex.h    2001/11/20 17:31:19
@@ -21,7 +21,7 @@ struct keyword_item {
        ///
        char const * tag;
        ///
-       short code;
+       int code;
 };
 
 /** Generalized simple lexical analizer.
Index: lyxscreen.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxscreen.h,v
retrieving revision 1.29
diff -u -p -r1.29 lyxscreen.h
--- lyxscreen.h 2001/08/02 14:55:02     1.29
+++ lyxscreen.h 2001/11/20 17:31:20
@@ -25,10 +25,6 @@ class BufferView;
 
 struct Row;
 
-///
-typedef unsigned short Dimension;
-
-
 /** The class LyXScreen is used for the main Textbody.
     Concretely, the screen is held in a pixmap.  This pixmap is kept up to
     date and used to optimize drawing on the screen.
Index: vspace.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/vspace.C,v
retrieving revision 1.41
diff -u -p -r1.41 vspace.C
--- vspace.C    2001/10/15 16:05:08     1.41
+++ vspace.C    2001/11/20 17:31:20
@@ -204,7 +204,7 @@ bool isValidGlueLength (string const & d
 
        // To make isValidGlueLength recognize negative values as
        // the first number this little hack is needed:
-       short val_sign = 1; // positive as default
+       int val_sign = 1; // positive as default
        switch (buffer[0]) {
        case '-':
                lyx_advance(buffer, 1);
@@ -270,7 +270,7 @@ bool isValidLength(string const & data, 
 
        // To make isValidLength recognize negative values
        // this little hack is needed:
-       short val_sign = 1; // positive as default
+       int val_sign = 1; // positive as default
        switch (buffer[0]) {
        case '-':
                lyx_advance(buffer, 1);

Reply via email to