Merge branch 'master' of https://github.com/86Box/86Box
This commit is contained in:
@@ -1805,7 +1805,7 @@ load_other_removable_devices(void)
|
|||||||
if (p[0] != 0x00) {
|
if (p[0] != 0x00) {
|
||||||
if (path_abs(p)) {
|
if (path_abs(p)) {
|
||||||
if (strlen(p) > 511)
|
if (strlen(p) > 511)
|
||||||
fatal("load_other_removable_devices(): strlen(p) > 511 (mo_drives[%i].image_path)\n",
|
fatal("load_other_removable_devices(): strlen(p) > 511 (mo_drives[%i].image_path)\n",
|
||||||
c);
|
c);
|
||||||
else
|
else
|
||||||
strncpy(mo_drives[c].image_path, p, 511);
|
strncpy(mo_drives[c].image_path, p, 511);
|
||||||
|
@@ -348,7 +348,7 @@ ini_read(const char *fn)
|
|||||||
while (1) {
|
while (1) {
|
||||||
memset(buff, 0x00, sizeof(buff));
|
memset(buff, 0x00, sizeof(buff));
|
||||||
#ifdef __HAIKU__
|
#ifdef __HAIKU__
|
||||||
ini_fgetws(buff, sizeof_w(buff), f);
|
ini_fgetws(buff, sizeof_w(buff), fp);
|
||||||
#else
|
#else
|
||||||
(void) !fgetws(buff, sizeof_w(buff), fp);
|
(void) !fgetws(buff, sizeof_w(buff), fp);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user