- Fixed: Thing_SetTranslation still used a 16-bit word to hold the translation.
- Bumped the maximum resolution up to 2560x1600. - Fixed: DCanvas::DrawTexture() only expanded virtual screen sizes for widescreen resolutions but left 5:4 modes alone. This fix neccessitated the addition of DTA_Bottom320x200 for the status bar to use so that it could be flush with the bottom of the screen rather than sitting slightly above it. - Fixed: FConfigFile::ReadConfig()'s definition of whitespace was too broad. - Fixed: Defining custom translation ranges in descending order and/or with gaps made for crashes. SVN r676 (trunk)
This commit is contained in:
parent
ed242b32df
commit
016ac67376
17 changed files with 130 additions and 66 deletions
|
|
@ -39,6 +39,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "doomtype.h"
|
||||
#include "configfile.h"
|
||||
|
|
@ -374,14 +375,14 @@ bool FConfigFile::ReadConfig (void *file)
|
|||
{
|
||||
// Remove white space in front of =
|
||||
char *whiteprobe = equalpt - 1;
|
||||
while (whiteprobe > start && *whiteprobe <= ' ')
|
||||
while (whiteprobe > start && isspace(*whiteprobe))
|
||||
{
|
||||
whiteprobe--;
|
||||
}
|
||||
whiteprobe[1] = 0;
|
||||
// Remove white space after =
|
||||
whiteprobe = equalpt + 1;
|
||||
while (*whiteprobe && *whiteprobe <= ' ')
|
||||
while (*whiteprobe && isspace(*whiteprobe))
|
||||
{
|
||||
whiteprobe++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue