dtwm: In CDE we always build with MULTIBYTE support, disable unused singlebyte only

This commit is contained in:
Peter Howkins
2018-06-25 00:20:55 +01:00
parent 6bf175ef2d
commit 115c1a25d8
10 changed files with 4 additions and 416 deletions

View File

@@ -4340,13 +4340,11 @@ MakeAppearanceResources (WmScreenData *pSD, AppearanceData *pAData, Boolean make
#endif
} else {
/* got default font successfully, hack was not needed */
#ifndef NO_MULTIBYTE
/*
* Calculate title bar's height (using selected font) and store it in pAData.
*/
pAData->titleHeight = (pAData->font)->ascent + (pAData->font)->descent
+ WM_TITLE_BAR_PADDING;
#endif
}