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:
parent
19478d45f5
commit
e1d8eb67a4
3 changed files with 5 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue