- restore original line endings

This commit is contained in:
Shawn Walker 2014-05-18 16:00:31 -07:00
parent d2b0596cd4
commit 582b1990b7

View file

@ -275,7 +275,7 @@ FMultiPatchTexture::FMultiPatchTexture (const void *texdef, FPatchLookup *patchl
Parts[i].Texture = patchlookup[LittleShort(mpatch.d->patch)].Texture; Parts[i].Texture = patchlookup[LittleShort(mpatch.d->patch)].Texture;
if (Parts[i].Texture == NULL) if (Parts[i].Texture == NULL)
{ {
Printf (TEXTCOLOR_RED "Unknown patch %s in texture %s\n", patchlookup[LittleShort(mpatch.d->patch)].Name, Name); Printf(TEXTCOLOR_RED "Unknown patch %s in texture %s\n", patchlookup[LittleShort(mpatch.d->patch)].Name, Name);
NumParts--; NumParts--;
i--; i--;
} }
@ -860,7 +860,7 @@ void FTextureManager::AddTexturesLump (const void *lumpdata, int lumpsize, int d
for (DWORD i = 0; i < numpatches; ++i) for (DWORD i = 0; i < numpatches; ++i)
{ {
char pname[9]; char pname[9];
pnames.Read (pname, 8); pnames.Read(pname, 8);
pname[8] = '\0'; pname[8] = '\0';
patchlookup[i].Name = pname; patchlookup[i].Name = pname;
FTextureID j = CheckForTexture (patchlookup[i].Name, FTexture::TEX_WallPatch); FTextureID j = CheckForTexture (patchlookup[i].Name, FTexture::TEX_WallPatch);