comparison src/editfns.c @ 24505:d6fcaeb4c03c

(Fformat): Accept %i format.
author Karl Heuer <kwzh@gnu.org>
date Fri, 19 Mar 1999 08:09:59 +0000
parents 986eeaabee10
children a976dbfb1f55
comparison
equal deleted inserted replaced
24504:4a181ea97251 24505:d6fcaeb4c03c
2577 if (*format == 'e' || *format == 'f' || *format == 'g') 2577 if (*format == 'e' || *format == 'f' || *format == 'g')
2578 args[n] = Ffloat (args[n]); 2578 args[n] = Ffloat (args[n]);
2579 else 2579 else
2580 #endif 2580 #endif
2581 if (*format != 'd' && *format != 'o' && *format != 'x' 2581 if (*format != 'd' && *format != 'o' && *format != 'x'
2582 && *format != 'X' && *format != 'c') 2582 && *format != 'i' && *format != 'X' && *format != 'c')
2583 error ("Invalid format operation %%%c", *format); 2583 error ("Invalid format operation %%%c", *format);
2584 2584
2585 thissize = 30; 2585 thissize = 30;
2586 if (*format == 'c' 2586 if (*format == 'c'
2587 && (! SINGLE_BYTE_CHAR_P (XINT (args[n])) 2587 && (! SINGLE_BYTE_CHAR_P (XINT (args[n]))