Pick string windows will be resized to title length also

This commit is contained in:
Ianos Gnatiuc 2005-10-25 03:41:16 +00:00
parent 10e6f95d68
commit 1544629b43
2 changed files with 8 additions and 2 deletions

View File

@ -10,6 +10,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________
- Pick string windows will be resized to title length also.
+ Added @daddr to built-in template for netmail areas.
+ Second char from first name will act as lastname in initials

View File

@ -35,6 +35,8 @@
#include <gtimall.h>
#include <gwinall.h>
extern char m_title[];
// ------------------------------------------------------------------
@ -414,7 +416,9 @@ int wpickstr(int srow, int scol, int erow, int ecol, int btype, int bordattr, in
// go through input array and determine the longest
// string, and count the number of elements in the array
for(i=maxlen=0; strarr[i]!=NULL; i++)
maxlen = strlen(m_title);
for (i = 0; strarr[i] != NULL; i++)
if ((j = strlen(strarr[i])) > maxlen)
maxlen = j;