comparison src/ChangeLog @ 5044:e84a30b0e4a2

remove duplicative code in change_frame_size() -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-02-15 Ben Wing <ben@xemacs.org> * frame.c (change_frame_size_1): Simplify the logic in this function. (1) Don't allow 0 as the value of height or width. The old code that tried to allow this was totally broken, anyway, so obviously this never happens any more. (2) Don't duplicate the code in frame_conversion_internal() that converts displayable pixel size to total pixel size -- just call that function.
author Ben Wing <ben@xemacs.org>
date Mon, 15 Feb 2010 22:58:10 -0600
parents d0c14ea98592
children c3cc3fa503a2
comparison
equal deleted inserted replaced
5043:d0c14ea98592 5044:e84a30b0e4a2
1 2010-02-15 Ben Wing <ben@xemacs.org>
2
3 * frame.c (change_frame_size_1):
4 Simplify the logic in this function.
5
6 (1) Don't allow 0 as the value of height or width. The old code
7 that tried to allow this was totally broken, anyway, so obviously
8 this never happens any more.
9
10 (2) Don't duplicate the code in frame_conversion_internal() that
11 converts displayable pixel size to total pixel size -- just call
12 that function.
13
1 2010-02-15 Ben Wing <ben@xemacs.org> 14 2010-02-15 Ben Wing <ben@xemacs.org>
2 15
3 * EmacsFrame.c: 16 * EmacsFrame.c:
4 * EmacsFrame.c (EmacsFrameResize): 17 * EmacsFrame.c (EmacsFrameResize):
5 * console-msw-impl.h: 18 * console-msw-impl.h: