Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
[linux] replace _MAX_PATH with MAX_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Jan 19, 2022
1 parent cea05df commit 04bcc8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/apps/engine/src/core_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ bool CoreImpl::Initialize()

void CoreImpl::ProcessEngineIniFile()
{
char String[_MAX_PATH];
char String[MAX_PATH];

bEngineIniProcessed = true;

Expand Down
2 changes: 1 addition & 1 deletion src/apps/engine/src/core_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class CoreImpl : public Core
bool Initialized; // initialized flag (false at startup or after Reset())
bool bEngineIniProcessed;
HWND App_Hwnd; // application handle
char gstring[_MAX_PATH]{}; // general purpose string
char gstring[MAX_PATH]{}; // general purpose string
bool State_loading;
bool bEnableTimeScale{};

Expand Down
2 changes: 1 addition & 1 deletion src/libs/renderer/src/s_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ struct D3DERRORS

struct texpaths_t
{
char str[_MAX_PATH];
char str[MAX_PATH];
};

struct STEXTURE
Expand Down

0 comments on commit 04bcc8d

Please sign in to comment.