comparison src/redisplay.c @ 464:5aa1854ad537 r21-2-47

Import from CVS: tag r21-2-47
author cvs
date Mon, 13 Aug 2007 11:45:51 +0200
parents 0784d089fdc9
children 9a775fb11bb7
comparison
equal deleted inserted replaced
463:a158004111cd 464:5aa1854ad537
970 The functionality to do this in that routine needs to be 970 The functionality to do this in that routine needs to be
971 modularized. */ 971 modularized. */
972 972
973 for (pos = c_string; pos < end;) 973 for (pos = c_string; pos < end;)
974 { 974 {
975 Bufbyte *old_pos = pos;
976
975 data->ch = charptr_emchar (pos); 977 data->ch = charptr_emchar (pos);
976 978
977 prop = add_emchar_rune (data); 979 prop = add_emchar_rune (data);
978 980
979 if (prop) 981 if (prop)
995 return prop; 997 return prop;
996 } 998 }
997 } 999 }
998 INC_CHARPTR (pos); 1000 INC_CHARPTR (pos);
999 assert (pos <= end); 1001 assert (pos <= end);
1002 /* #### Duplicate code from add_string_to_fstring_db_runes
1003 should we do more?*/
1004 data->bytepos += pos - old_pos;
1000 } 1005 }
1001 1006
1002 return NULL; 1007 return NULL;
1003 } 1008 }
1004 1009