diff --git a/examples/image_exporter/image_exporter.c b/examples/image_exporter/image_exporter.c index cf5cd58..3c0a16b 100644 --- a/examples/image_exporter/image_exporter.c +++ b/examples/image_exporter/image_exporter.c @@ -38,10 +38,10 @@ int main(int argc, char *argv[]) bool windowBoxActive = false; int fileFormatActive = 0; - const char *fileFormatTextList[3] = { "IMAGE (.png)", "DATA (.raw)", "CODE (.h)" }; + char *fileFormatTextList[3] = { "IMAGE (.png)", "DATA (.raw)", "CODE (.h)" }; int pixelFormatActive = 0; - const char *pixelFormatTextList[7] = { "GRAYSCALE", "GRAY ALPHA", "R5G6B5", "R8G8B8", "R5G5B5A1", "R4G4B4A4", "R8G8B8A8" }; + char *pixelFormatTextList[7] = { "GRAYSCALE", "GRAY ALPHA", "R5G6B5", "R8G8B8", "R5G5B5A1", "R4G4B4A4", "R8G8B8A8" }; bool textBoxEditMode = false; char fileName[64] = "untitled"; diff --git a/examples/image_importer_raw/image_importer_raw.c b/examples/image_importer_raw/image_importer_raw.c index 4f86082..6c1d1ed 100644 --- a/examples/image_importer_raw/image_importer_raw.c +++ b/examples/image_importer_raw/image_importer_raw.c @@ -50,12 +50,12 @@ int main() bool heightEditMode = false; int pixelFormatActive = 0; - const char *pixelFormatTextList[8] = { "CUSTOM", "GRAYSCALE", "GRAY ALPHA", "R5G6B5", "R8G8B8", "R5G5B5A1", "R4G4B4A4", "R8G8B8A8" }; + char *pixelFormatTextList[8] = { "CUSTOM", "GRAYSCALE", "GRAY ALPHA", "R5G6B5", "R8G8B8", "R5G5B5A1", "R4G4B4A4", "R8G8B8A8" }; int channelsActive = 3; - const char *channelsTextList[4] = { "1", "2", "3", "4" }; + char *channelsTextList[4] = { "1", "2", "3", "4" }; int bitDepthActive = 0; - const char *bitDepthTextList[3] = { "8", "16", "32" }; + char *bitDepthTextList[3] = { "8", "16", "32" }; int headerSizeValue = 0; bool headerSizeEditMode = false;