libsdl-org / SDL-1.2

Simple Directmedia Layer, 1.2 branch ... ***DEPRECATED***, please use https://github.com/libsdl-org/SDL for new projects!
https://libsdl.org
GNU Lesser General Public License v2.1
98 stars 81 forks source link

Windows: different line endings #844

Closed carlo-bramini closed 3 years ago

carlo-bramini commented 3 years ago

I made few fixes to SDL-1.2/src/video/wincommon/SDL_sysevents.c but github complains the fact that the file as mixed line ending, see attached screenshot. It would be worth to normalize them, othewise my diff file is unreadable. SDL

sezero commented 3 years ago

video/wincommon/SDL_sysevents.c has unix line endings, like any other file in SDL source tree. Run dos2unix on your modified version and the diff will be readable.

ccawley2011 commented 3 years ago

PR #845 should fix it. There were only a couple of lines in that file that used CRLF.