Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential bug: missing break in interpret_command function found in main.c #75

Open
sandersantema opened this issue Sep 15, 2024 · 0 comments

Comments

@sandersantema
Copy link

I'm not familiar enough with C++ or the codebase itself to confirm this but it seems there's a missing break after the EDIT_UNMAP_WINDOW case.

texpresso/src/main.c

Lines 940 to 950 in 0e14b1d

case EDIT_UNMAP_WINDOW:
{
if (!(SDL_GetWindowFlags(ui->window) & SDL_WINDOW_INPUT_FOCUS))
SDL_SetWindowBordered(ui->window, SDL_TRUE);
SDL_SetWindowAlwaysOnTop(ui->window, SDL_FALSE);
fprintf(stderr, "[command] unmap-window\n");
}
case EDIT_RESCAN:
schedule_event(SCAN_EVENT);
break;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant