add newline at end of file where it's lacking

.editorconfig already enforces it but it's getting changed piecemeal in
every commit. just get it done with.

the script:
```

find . -type f -not -path "./.git/*" -not -path "./.vs/*" | while read -r file; do
	isFile=$(file -0 "$file" | cut -d $'\0' -f2)
	case "$isFile" in
		(*text*)
			echo "$file is text"
			if [[ $(tail -c 1 "$file" | wc -l) -ne 1 ]]; then
				echo "" >> "$file"
			fi
			;;
		(*)
			echo "file isn't text"
			;;
	esac
done
```
This commit is contained in:
Marco Antonio J. Costa
2024-12-14 19:05:48 -03:00
committed by majcosta
parent 1d58bda82d
commit 86ad401186
228 changed files with 228 additions and 228 deletions
+1 -1
View File
@@ -149,4 +149,4 @@ void SetProgressBarRenderBuffer( UINT32 ubID , UINT32 uiBufferID );
void CreateProgressBarNoBorder( UINT8 ubProgressBarID, UINT16 usLeft, UINT16 usTop, UINT16 usRight, UINT16 usBottom );
#endif
#endif
+1 -1
View File
@@ -46,4 +46,4 @@ void BinkShutdownVideo(void);
BINKFLIC *BinkPlayFlic(const CHAR8 *cFilename, UINT32 uiLeft, UINT32 uiTop, UINT32 uiFlags );
#endif
#endif
+1 -1
View File
@@ -318,4 +318,4 @@ void SetCursorFlags( UINT32 uiCursor, UINT8 ubFlags );
void RemoveCursorFlags( UINT32 uiCursor, UINT8 ubFlags );
#endif
#endif
+1 -1
View File
@@ -55,4 +55,4 @@ extern void AiDbgMessage( CHAR8 *Str);
#endif
#endif
#endif
+1 -1
View File
@@ -230,4 +230,4 @@ void DecodeString(STR16 pDestString, UINT32 uiSeekAmount)
// }
//#endif
}
}
}
+1 -1
View File
@@ -7,4 +7,4 @@ BOOLEAN LoadEncryptedDataFromFile(STR pFileName, STR16 pDestString, UINT32 uiSee
BOOLEAN LoadEncryptedDataFromFileRandomLine(STR pFileName, STR16 pDestString, UINT32 uiSeekAmount);
void DecodeString(STR16 pDestString, UINT32 uiSeekAmount);
#endif
#endif
+1 -1
View File
@@ -6,4 +6,4 @@ namespace Loc
bool ExportStrings();
}
#endif // _EXPORTSTRINGS_H_
#endif // _EXPORTSTRINGS_H_
+1 -1
View File
@@ -50,4 +50,4 @@ enum
BOOLEAN GetMLGFilename( SGPFILENAME filename, UINT16 usMLGGraphicID );
#endif
#endif
+1 -1
View File
@@ -9,4 +9,4 @@ BOOLEAN ProcessIfMultilingualCmdLineArgDetected( STR8 str );
//macro function out
#define ProcessIfMultilingualCmdLineArgDetected( a ) 0
#endif
#endif
+1 -1
View File
@@ -167,4 +167,4 @@ void SetBoxSecondaryShade( INT32 iBox, UINT8 ubColor );
// min width for box
void SpecifyBoxMinWidth( INT32 hBoxHandle, INT32 iMinWidth );
#endif
#endif
+1 -1
View File
@@ -18,4 +18,4 @@ void MapPalette( UINT8 *pDest, UINT8 *pSrc, INT16 sWidth, INT16 sHeight, INT16 s
#endif
#endif
+1 -1
View File
@@ -40,4 +40,4 @@ protected:
void GetPaletteColors (NODE* pTree, RGBQUAD* prgb, UINT* pIndex);
};
#endif
#endif
+1 -1
View File
@@ -9,4 +9,4 @@ void WriteSTIFile( INT8 *pData, SGPPaletteEntry *pPalette, INT16 sWidth, INT16 s
UINT32 ETRLECompressSubImage( UINT8 * pDest, UINT32 uiDestLen, UINT8 * p8BPPBuffer, UINT16 usWidth, UINT16 usHeight, STCISubImage * pSubImage );
#endif
#endif
+1 -1
View File
@@ -465,4 +465,4 @@ void SetPositionSndGridNo( INT32 iPositionSndIndex, INT32 sGridNo );
#endif
#endif
+1 -1
View File
@@ -192,4 +192,4 @@ void KillClipboard();
extern BOOLEAN gfNoScroll;
#endif
#endif
+1 -1
View File
@@ -129,4 +129,4 @@ void ZeroTimeCounter(INT32& timer);
#define ZEROTIMECOUNTER(c) ZeroTimeCounter(c)
void SetTileAnimCounter( INT32 iTime );
#endif
#endif
+1 -1
View File
@@ -14,4 +14,4 @@ typedef struct
extern LANGUAGE_LOCATION zlanguageText[1000];
#endif
#endif
+1 -1
View File
@@ -167,4 +167,4 @@ BOOLEAN ReadInSenderNameList(STR fileName, BOOLEAN localizedVersion)
return( TRUE );
}
}
+1 -1
View File
@@ -5,4 +5,4 @@
void GenerateAllMapsInit(void);
#endif
#endif
#endif
+1 -1
View File
@@ -118,4 +118,4 @@ void DisplayLastMessage( void );
*/
#endif
#endif
+1 -1
View File
@@ -337,4 +337,4 @@
};
};
#endif
#endif
+1 -1
View File
@@ -1861,4 +1861,4 @@ void popupMouseClickCallback(MOUSE_REGION *pRegion, INT32 iReason)
if (p) {
p->MenuBtnCallBack(pRegion, iReason);
}
}
}
+1 -1
View File
@@ -232,4 +232,4 @@
return applyPopupContentGenerator( popup, this->generatorId );
}
+1 -1
View File
@@ -106,4 +106,4 @@ protected:
UINT16 generatorId;
};
#endif
#endif