Set char* parameters to const to prevent warnings
This commit is contained in:
@@ -110,7 +110,7 @@ void ModuleSequence::FadeOut() {
|
||||
}
|
||||
}
|
||||
|
||||
void ModuleSequence::ShowText(int x, int y, int color, int speed, char * text1, char * text2, char * text3) {
|
||||
void ModuleSequence::ShowText(int x, int y, int color, int speed, const char * text1, const char * text2, const char * text3) {
|
||||
bool eixir = false;
|
||||
|
||||
JG_SetUpdateTicks(10);
|
||||
@@ -118,7 +118,7 @@ void ModuleSequence::ShowText(int x, int y, int color, int speed, char * text1,
|
||||
|
||||
// mod 35
|
||||
// A (65) = 23 -> char - 42
|
||||
// Special chars: ( ) <20> ' - : ! .
|
||||
// Special chars: ( ) <20> ' - : ! .
|
||||
// [ \ ] ^ _ ` a b
|
||||
|
||||
int tamany_text1 = strlen(text1);
|
||||
|
||||
Reference in New Issue
Block a user