summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2021-04-16 21:19:28 +0200
committerRay <[email protected]>2021-04-16 21:19:28 +0200
commit640fc4d0a08b637732f8ca8df3715ba40f831c61 (patch)
treeea5c9e94b0d6606a9b0df837388340d3d0f2ef93 /src
parent657b527bc676256a627c9fb28d3b298a360e171b (diff)
downloadraylib-640fc4d0a08b637732f8ca8df3715ba40f831c61.tar.gz
raylib-640fc4d0a08b637732f8ca8df3715ba40f831c61.zip
Minor tweaks
Diffstat (limited to 'src')
-rw-r--r--src/text.c2
-rw-r--r--src/utils.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/text.c b/src/text.c
index 784cec4a..3a49963a 100644
--- a/src/text.c
+++ b/src/text.c
@@ -1611,7 +1611,7 @@ int GetCodepointsCount(const char *text)
// Total number of bytes processed are returned as a parameter
// NOTE: the standard says U+FFFD should be returned in case of errors
// but that character is not supported by the default font in raylib
-// TODO: optimize this code for speed!!
+// TODO: Optimize this code for speed!!
int GetNextCodepoint(const char *text, int *bytesProcessed)
{
/*
diff --git a/src/utils.c b/src/utils.c
index 7912b876..66804fb2 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -372,11 +372,11 @@ void InitAssetManager(AAssetManager *manager, const char *dataPath)
internalDataPath = dataPath;
}
-// Replacement for fopen
+// Replacement for fopen()
// Ref: https://developer.android.com/ndk/reference/group/asset
FILE *android_fopen(const char *fileName, const char *mode)
{
- if (mode[0] == 'w') // TODO: Test!
+ if (mode[0] == 'w')
{
// TODO: fopen() is mapped to android_fopen() that only grants read access
// to assets directory through AAssetManager but we want to also be able to