Mercurial > hg > xemacs-beta
comparison src/window.c @ 2:ac2d302a0011 r19-15b2
Import from CVS: tag r19-15b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:35 +0200 |
parents | 376386a54a3c |
children | 0293115a14e9 |
comparison
equal
deleted
inserted
replaced
1:c0c6a60d29db | 2:ac2d302a0011 |
---|---|
3055 old_pos = last_old_pos + WINDOW_WIDTH (c); | 3055 old_pos = last_old_pos + WINDOW_WIDTH (c); |
3056 WINDOW_LEFT (c) = last_pos; | 3056 WINDOW_LEFT (c) = last_pos; |
3057 } | 3057 } |
3058 | 3058 |
3059 pos = (((old_pos * new_pixsize) << 1) + old_pixsize) / div_val; | 3059 pos = (((old_pos * new_pixsize) << 1) + old_pixsize) / div_val; |
3060 /* All but the the last window should have a height which is | 3060 /* All but the last window should have a height which is |
3061 a multiple of the default line height. */ | 3061 a multiple of the default line height. */ |
3062 if (!NILP (c->next)) | 3062 if (!NILP (c->next)) |
3063 pos = (pos / line_size) * line_size; | 3063 pos = (pos / line_size) * line_size; |
3064 | 3064 |
3065 /* Avoid confusion: don't delete child if it becomes too small */ | 3065 /* Avoid confusion: don't delete child if it becomes too small */ |