mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
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:
committed by
majcosta
parent
1d58bda82d
commit
86ad401186
@@ -180,4 +180,4 @@ void PlayButtonSound( INT32 iButtonID, INT32 iSoundType )
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -49,4 +49,4 @@ PTR CompressInit( BYTE * pUncompressedData, UINT32 uiDataSize );
|
||||
UINT32 Compress( PTR pCompPtr, BYTE * pBuffer, UINT32 uiBufferLen );
|
||||
void CompressFini( PTR pCompPtr );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -95,4 +95,4 @@ HRESULT BltDDSurfaceUsingSoftware( LPDIRECTDRAWSURFACE2 pDestSurface, LPRECT pDe
|
||||
#endif
|
||||
|
||||
|
||||
#endif // __DirectDraw_Calls_H__
|
||||
#endif // __DirectDraw_Calls_H__
|
||||
|
||||
@@ -26,4 +26,4 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -58,4 +58,4 @@
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -128,4 +128,4 @@
|
||||
#define COMMA 188
|
||||
#define FULLSTOP 190
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -89,4 +89,4 @@ typedef struct
|
||||
#define STCI_PALETTE_ELEMENT_SIZE 3
|
||||
#define STCI_8BIT_PALETTE_SIZE 768
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -151,4 +151,4 @@ extern BOOLEAN gfSGPInputReceived;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -37,4 +37,4 @@ extern void MSYS_SGP_Mouse_Handler_Hook(UINT16 Type, UINT16 Xcoord, UINT16 Ycoor
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -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
@@ -105,4 +105,4 @@ extern void SoundLog(CHAR8 *strMessage);
|
||||
#endif
|
||||
*/
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -27,4 +27,4 @@ UINT32 ClockIsTicking(TIMER uiTimer);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -15,4 +15,4 @@ LPDIRECTDRAWPALETTE GetVideoSurfaceDDPalette( HVSURFACE hVSurface );
|
||||
|
||||
HVSURFACE CreateVideoSurfaceFromDDSurface( LPDIRECTDRAWSURFACE2 lpDDSurface );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user