Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jul 8, 2024
1 parent 9cf7c55 commit ff76d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example1/example_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ bool example_splitpath(const char *filename, char *drive_buf, char *dir_buf, cha
char *dot = strrchr(fname_buf, '.');
ext_buf[0] = '\0';
if (dot && dot != fname_buf) {
strncpy(ext_buf, dot, strlen(dot));
strncpy(ext_buf, dot, strlen(dot) + 1);
*dot = '\0';
}
return true;
Expand Down

0 comments on commit ff76d5d

Please sign in to comment.