1
0
Fork 0

Use fabsf when return value is a float. Small warning fix.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4269
This commit is contained in:
Peter Veenstra 2019-10-09 20:49:21 +00:00
parent 19478d45f5
commit e1d8eb67a4
3 changed files with 5 additions and 5 deletions

View file

@ -243,7 +243,7 @@ void DOS_Drive_Cache::AddEntryDirOverlay(const char* path, bool checkExists) {
#if defined (WIN32)
//OS2 ?
if (post > dironly && *(post - 1) == ':' && (post - dironly) == 2)
post++; //move away from X: as need to end up with x:\
post++; //move away from X: as need to end up with x:\ .
#else
//Lets hope this is not really used.. (root folder specified as overlay)
if (post == dironly)