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/
|
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.
|
+ Added @daddr to built-in template for netmail areas.
|
||||||
|
|
||||||
+ Second char from first name will act as lastname in initials
|
+ Second char from first name will act as lastname in initials
|
||||||
|
@ -35,6 +35,8 @@
|
|||||||
#include <gtimall.h>
|
#include <gtimall.h>
|
||||||
#include <gwinall.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
|
// go through input array and determine the longest
|
||||||
// string, and count the number of elements in the array
|
// 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)
|
if ((j = strlen(strarr[i])) > maxlen)
|
||||||
maxlen = j;
|
maxlen = j;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user