fix for freebsd

This commit is contained in:
2025-07-03 23:27:12 -05:00
parent 8db6e0a1c1
commit 5df32110f8
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ namespace Tesses::Framework::Date
struct timeval tv;
struct timezone tz;
gettimeofday(&tv,&tz);
return -(tz.tz_minuteswest/60);
return (tz.tz_minuteswest/60);
#else
return (int)(-timezone);
#endif

View File

@@ -700,7 +700,7 @@ namespace Tesses::Framework::SDL2
}
else {
GUIJsonViewNotFoundEventArgs e;
e.destView == nullptr;
e.destView = nullptr;
e.jsonObject = json;
e.typeString = type;

View File

@@ -159,7 +159,7 @@ namespace Tesses::Framework::SDL2::Views
}
numberOfCells == 0 ? 0 : freeWidth/ numberOfCells;
cellSize = numberOfCells == 0 ? 0 : freeWidth/ numberOfCells;
int x = 0;