Skip to content

Commit

Permalink
Merge branch 'Rubberduckycooly:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
LittlePlanetCD authored Feb 27, 2024
2 parents 276da3c + c8bb757 commit feb8b73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions RSDKv3/fcaseopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ THE SOFTWARE.
#include <errno.h>
#include <unistd.h>

// r must have strlen(path) + 2 bytes
// r must have strlen(path) + 3 bytes
static int casepath(char const *path, char *r)
{
size_t l = strlen(path);
Expand Down Expand Up @@ -101,7 +101,7 @@ FILE *fcaseopen(char const *path, char const *mode)
FILE *f = fopen(path, mode);
#if !defined(_WIN32)
if (!f) {
char *r = (char *)alloca(strlen(path) + 2);
char *r = (char *)alloca(strlen(path) + 3);
if (casepath(path, r)) {
f = fopen(r, mode);
}
Expand All @@ -113,7 +113,7 @@ FILE *fcaseopen(char const *path, char const *mode)
void casechdir(char const *path)
{
#if !defined(_WIN32)
char *r = (char *)alloca(strlen(path) + 2);
char *r = (char *)alloca(strlen(path) + 3);
if (casepath(path, r)) {
chdir(r);
}
Expand Down
2 changes: 1 addition & 1 deletion dependencies/android/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Android

## Install dependencies
* SDL2: [Download the source code](https://github.com/libsdl-org/SDL) and unzip it in `dependencies/android/SDL`.
* SDL2: [Download the source code](https://github.com/libsdl-org/SDL/tree/SDL2) and unzip it in `dependencies/android/SDL`.

* GLEW: [Download the binaries](http://glew.sourceforge.net/) and unzip it in `dependencies/android/glew`.

Expand Down

0 comments on commit feb8b73

Please sign in to comment.