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
@@ -22,4 +22,4 @@ extern UINT8 gubCheatLevel;
#define RESET_CHEAT_LEVEL( ) ( gubCheatLevel = 0 )
#define ACTIVATE_CHEAT_LEVEL() ( gubCheatLevel = 6 )
#endif
#endif
+1 -1
View File
@@ -37,4 +37,4 @@ BOOLEAN HandleFadeInCallback( );
void FadeInNextFrame( );
void FadeOutNextFrame( );
#endif
#endif
+1 -1
View File
@@ -72,4 +72,4 @@ void NewScreenSoResetHelpScreen( );
INT8 HelpScreenDetermineWhichMapScreenHelpToShow();
#endif
#endif
+1 -1
View File
@@ -42,4 +42,4 @@ typedef struct
extern INTRO_NAMES_VALUES zVideoFile[255];
#endif
#endif
+1 -1
View File
@@ -6,4 +6,4 @@ void InitJA2SplashScreen();
extern UINT32 guiSplashFrameFade;
extern UINT32 guiSplashStartTime;
#endif
#endif
+1 -1
View File
@@ -116,4 +116,4 @@
#define SINGLE_CHAR_WORDS
#endif*/
#endif
#endif
+1 -1
View File
@@ -26,4 +26,4 @@ extern BOOLEAN gfInChatBox;
INT32 DoChatBox( bool bIncludeChatLog, const STR16 zString, UINT32 uiExitScreen, MSGBOX_CALLBACK ReturnCallback, SGPRect *pCenteringRect );
void ChatLogMessage( UINT16 usColor, UINT8 ubPriority, STR16 pStringA, ...);
#endif
#endif
+1 -1
View File
@@ -11,4 +11,4 @@ void SetConnectScreenHeadingA( const char* cmsg );
void SetConnectScreenSubMessageW( STR16 cmsg );
void SetConnectScreenSubMessageA( const char* cmsg );
#endif
#endif
+1 -1
View File
@@ -9,4 +9,4 @@ UINT32 MPHostScreenShutdown( void );
#endif
#endif
+1 -1
View File
@@ -9,4 +9,4 @@ UINT32 MPScoreScreenShutdown( void );
#endif
#endif
+1 -1
View File
@@ -152,4 +152,4 @@ BOOLEAN DoOptionsMessageBoxWithRect( UINT8 ubStyle, const STR16 zString, UINT32
BOOLEAN DoSaveLoadMessageBoxWithRect( UINT8 ubStyle, const STR16 zString, UINT32 uiExitScreen, UINT32 usFlags, MSGBOX_CALLBACK ReturnCallback, SGPRect *pCenteringRect );
#endif
#endif
+1 -1
View File
@@ -34,4 +34,4 @@ extern Screens GameScreens[MAX_SCREENS];
#include "jascreens.h"
#endif
#endif
+1 -1
View File
@@ -41,4 +41,4 @@ void InitHelicopterEntranceByMercs( void );
void InternalLeaveTacticalScreen( UINT32 uiNewScreen );
#endif
#endif
+1 -1
View File
@@ -184,4 +184,4 @@ extern std::list<SExceptionData> g_ExceptionList;
void PrintExceptionList();
#endif
#endif
+1 -1
View File
@@ -102,4 +102,4 @@ extern void RandomStats ();
#endif
extern void RandomStats ();
#endif
#endif
+1 -1
View File
@@ -37,4 +37,4 @@ void ClearMainMenu( );
void InitDependingGameStyleOptions();
#endif
#endif
+1 -1
View File
@@ -47,4 +47,4 @@ enum ScreenTypes
MAX_SCREENS
};
#endif
#endif
+1 -1
View File
@@ -230,4 +230,4 @@ extern void RandomStats ();
#endif
extern void RandomStats ();
#endif
#endif