diff --git a/include/Version.h b/include/Version.h index f92f09e..34ba528 100644 --- a/include/Version.h +++ b/include/Version.h @@ -1,5 +1,5 @@ #define MAJOR_VERSION_INT 12 #define MINOR_VERSION_INT 2 -#define UPDATE_VERSION_INT 3 +#define UPDATE_VERSION_INT 4 #define RELEASE_VERSION_INT 0 #define EXTRAINFO "" diff --git a/src/FrameWindowHelper.cpp b/src/FrameWindowHelper.cpp index bea574e..c0e77fb 100644 --- a/src/FrameWindowHelper.cpp +++ b/src/FrameWindowHelper.cpp @@ -767,8 +767,11 @@ wyChar * *(result + (dwtitlecount * dwcurrline) + pfieldlenarr[myres->field_count] + 1 + totalpad - extrapad) = '\n'; } + if(ismultiline == wyTrue) + dwlast = (dwtitlecount * dwmaxline) + pfieldlenarr[myres->field_count] + 1 + totalpad - extrapad; - dwlast = (dwtitlecount * dwmaxline) + pfieldlenarr[myres->field_count] + 1 + totalpad - extrapad; + else + dwlast = (dwtitlecount * dwcurrline) + pfieldlenarr[myres->field_count] + 1 + totalpad - extrapad; isfirstline = wyTrue; }