summaryrefslogtreecommitdiffhomepage
path: root/src/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/text.c b/src/text.c
index a010666e..5c3c14a8 100644
--- a/src/text.c
+++ b/src/text.c
@@ -190,10 +190,6 @@ extern void LoadDefaultFont(void)
if (counter > 512) counter = 0; // Security check...
}
- //FILE *myimage = fopen("default_font.raw", "wb");
- //fwrite(image.pixels, 1, 128*128*4, myimage);
- //fclose(myimage);
-
Image image = LoadImageEx(imagePixels, imWidth, imHeight);
ImageFormat(&image, UNCOMPRESSED_GRAY_ALPHA);
@@ -823,6 +819,16 @@ char **SplitText(char *text, char delimiter, int *strCount)
return strings;
}
+// Check if two text string are equal
+bool IsEqualText(const char *text1, const char *text2)
+{
+ bool result = false;
+
+ if (strcmp(text1, text2) == 0) result = true;
+
+ return result;
+}
+
//----------------------------------------------------------------------------------
// Module specific Functions Definition
//----------------------------------------------------------------------------------