mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- mimic gzdoom/01dfcc7d9564013ae26c79ecb642e4e5578905b1
This commit is contained in:
parent
5ac05971d2
commit
f1c917cffc
1 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,6 @@
|
|||
#include <asm/unistd.h>
|
||||
#include <linux/perf_event.h>
|
||||
#include <sys/mman.h>
|
||||
#include "printf.h"
|
||||
#endif
|
||||
|
||||
#include <SDL.h>
|
||||
|
@ -65,6 +64,7 @@
|
|||
#include "c_cvars.h"
|
||||
#include "palutil.h"
|
||||
#include "st_start.h"
|
||||
#include "printf.h"
|
||||
|
||||
|
||||
#ifndef NO_GTK
|
||||
|
@ -408,7 +408,7 @@ FString I_GetFromClipboard (bool use_primary_selection)
|
|||
|
||||
FString I_GetCWD()
|
||||
{
|
||||
char* curdir = get_current_dir_name();
|
||||
char* curdir = getcwd(NULL,0);
|
||||
if (!curdir)
|
||||
{
|
||||
return "";
|
||||
|
@ -447,7 +447,7 @@ unsigned int I_MakeRNGSeed()
|
|||
|
||||
void I_OpenShellFolder(const char* infolder)
|
||||
{
|
||||
char* curdir = get_current_dir_name();
|
||||
char* curdir = getcwd(NULL,0);
|
||||
|
||||
if (!chdir(infolder))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue