Hello! I'ts me again :shy:
I've upgraded my patreon pledge to be a super~ and while i was trying to buildsuper.bat i got the following error :
and i honestly didn't even begin to change anything yet, i just tried to run the .bat
thanks for the attention!
keep up with the awesome work :D
p.s :
I've successfully compiled it removing the part that was messy
I don't really understand whats going on there but it was checking for >0 then >1 so I removed the >1 part and it was fine... (but i dunno if its really supposed to be like this, because maybe I'm just breaking some stuff down the road)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 | static void
default_4coder_side_by_side_panels(Application_Links *app, char **command_line_files, int32_t file_count)
{
Buffer_Identifier left = buffer_identifier(literal("*scratch*"));
Buffer_Identifier right = buffer_identifier(literal("*messages*"));
if (file_count > 0){
char *name = command_line_files[0];
int32_t len = str_size(name);
left = buffer_identifier(name, len);
#if 0
if (file_count > 1){ // problem was in this if
char *name = command_line_files[1];
int32_t len = str_size(name);
right = buffer_identifier(name, len);
}
#endif
}
default_4coder_side_by_side_panels(app, left, right);
}
|
p.s 2
Nevermind it was just me being retarded, if i actually read the code i could've fixed it, the compiler was just complaining about a new initialization of the same variable .. >_>
can close/delete this please :D