misc cleanup

This commit is contained in:
Wolf3s
2023-06-04 09:36:57 -03:00
parent e63ae14792
commit 699e5f0ff5
5 changed files with 12 additions and 12 deletions
+5 -3
View File
@@ -11,6 +11,8 @@
#pragma once
#include <string>
#include <limits.h>
#include <syslimits.h>
namespace Tyra {
@@ -42,9 +44,9 @@ class FileUtils {
private:
// Argv name+path & just path
char cwd[255];
char elfName[255];
char elfPath[255 - 14];
char cwd[NAME_MAX];
char elfName[NAME_MAX];
char elfPath[NAME_MAX - 14];
void setPathInfo(const char* path);
};