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
@@ -180,4 +180,4 @@ void PlayButtonSound( INT32 iButtonID, INT32 iSoundType )
}
}
}
+1 -1
View File
@@ -49,4 +49,4 @@ PTR CompressInit( BYTE * pUncompressedData, UINT32 uiDataSize );
UINT32 Compress( PTR pCompPtr, BYTE * pBuffer, UINT32 uiBufferLen );
void CompressFini( PTR pCompPtr );
#endif
#endif
+1 -1
View File
@@ -95,4 +95,4 @@ HRESULT BltDDSurfaceUsingSoftware( LPDIRECTDRAWSURFACE2 pDestSurface, LPRECT pDe
#endif
#endif // __DirectDraw_Calls_H__
#endif // __DirectDraw_Calls_H__
+1 -1
View File
@@ -26,4 +26,4 @@ extern "C" {
}
#endif
#endif
#endif
+1 -1
View File
@@ -58,4 +58,4 @@
};
#endif
#endif
+1 -1
View File
@@ -128,4 +128,4 @@
#define COMMA 188
#define FULLSTOP 190
#endif
#endif
+1 -1
View File
@@ -89,4 +89,4 @@ typedef struct
#define STCI_PALETTE_ELEMENT_SIZE 3
#define STCI_8BIT_PALETTE_SIZE 768
#endif
#endif
+1 -1
View File
@@ -151,4 +151,4 @@ extern BOOLEAN gfSGPInputReceived;
}
#endif
#endif
#endif
+1 -1
View File
@@ -37,4 +37,4 @@ extern void MSYS_SGP_Mouse_Handler_Hook(UINT16 Type, UINT16 Xcoord, UINT16 Ycoor
}
#endif
#endif
#endif
+1 -1
View File
@@ -37,4 +37,4 @@ BOOLEAN LoadPCXFileToImage( HIMAGE hImage, UINT16 fContents );
PcxObject *LoadPcx(STR8 pFilename);
BOOLEAN BlitPcxToBuffer( PcxObject *pCurrentPcxObject, UINT8 *pBuffer, UINT16 usBufferWidth, UINT16 usBufferHeight, UINT16 usX, UINT16 usY, BOOLEAN fTransp);
#endif
#endif
+1 -1
View File
@@ -105,4 +105,4 @@ extern void SoundLog(CHAR8 *strMessage);
#endif
*/
#endif
#endif
+1 -1
View File
@@ -27,4 +27,4 @@ UINT32 ClockIsTicking(TIMER uiTimer);
}
#endif
#endif
#endif
+1 -1
View File
@@ -15,4 +15,4 @@ LPDIRECTDRAWPALETTE GetVideoSurfaceDDPalette( HVSURFACE hVSurface );
HVSURFACE CreateVideoSurfaceFromDDSurface( LPDIRECTDRAWSURFACE2 lpDDSurface );
#endif
#endif