Pick string windows will be resized to title length also
This commit is contained in:
parent
10e6f95d68
commit
1544629b43
@ -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
|
||||
|
@ -35,6 +35,8 @@
|
||||
#include <gtimall.h>
|
||||
#include <gwinall.h>
|
||||
|
||||
extern char m_title[];
|
||||
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
@ -414,8 +416,10 @@ 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++)
|
||||
if((j=strlen(strarr[i]))>maxlen)
|
||||
maxlen = strlen(m_title);
|
||||
|
||||
for (i = 0; strarr[i] != NULL; i++)
|
||||
if ((j = strlen(strarr[i])) > maxlen)
|
||||
maxlen = j;
|
||||
|
||||
r.maxstrlen = maxlen;
|
||||
|
Reference in New Issue
Block a user