Changeset 1126
- Timestamp:
- 10/05/07 20:18:33 (1 year ago)
- Files:
-
- 1.8.2/trunk/CHANGES.182 (modified) (1 diff)
- 1.8.2/trunk/src/bsd.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.2/trunk/CHANGES.182
r1123 r1126 19 19 * 'make versions' now provides some feedback. 20 20 21 Fixes: 22 * width() and height() do not return 0 when set to invalid input. 23 By Talvo. 21 24 22 25 Version 1.8.2 patchlevel 7 October 6, 2007 1.8.2/trunk/src/bsd.c
r1100 r1126 4264 4264 if (!*args[0]) 4265 4265 safe_str(T("#-1 FUNCTION REQUIRES ONE ARGUMENT"), buff, bp); 4266 else if ((match = lookup_desc(executor, args[0])) )4266 else if ((match = lookup_desc(executor, args[0])) && match->width > 0) 4267 4267 safe_integer(match->width, buff, bp); 4268 4268 else if (args[1]) … … 4277 4277 if (!*args[0]) 4278 4278 safe_str(T("#-1 FUNCTION REQUIRES ONE ARGUMENT"), buff, bp); 4279 else if ((match = lookup_desc(executor, args[0])) )4279 else if ((match = lookup_desc(executor, args[0])) && match->height > 0) 4280 4280 safe_integer(match->height, buff, bp); 4281 4281 else if (args[1])
