diff --git a/deps/nuklear/nuklear.h b/deps/nuklear/nuklear.h index 317b11448d..0de85f8f6e 100644 --- a/deps/nuklear/nuklear.h +++ b/deps/nuklear/nuklear.h @@ -18890,7 +18890,7 @@ nk_combo_begin_text(struct nk_context *ctx, struct nk_panel *layout, text.padding = nk_vec2(0,0); label.x = header.x + style->combo.content_padding.x; label.y = header.y + style->combo.content_padding.y; - label.w = button.x - (style->combo.content_padding.x + style->combo.spacing.x) - label.x;; + label.w = button.x - (style->combo.content_padding.x + style->combo.spacing.x) - label.x; label.h = header.h - 2 * style->combo.content_padding.y; nk_widget_text(&win->buffer, label, selected, len, &text, NK_TEXT_LEFT, &ctx->style.font); diff --git a/gfx/common/egl_common.c b/gfx/common/egl_common.c index a1a3aee483..277386ea1a 100644 --- a/gfx/common/egl_common.c +++ b/gfx/common/egl_common.c @@ -211,7 +211,7 @@ bool egl_create_context(egl_ctx_data_t *egl, const EGLint *egl_attribs) RARCH_LOG("[EGL]: Created shared context: %p.\n", (void*)egl->hw_ctx); if (egl->hw_ctx == EGL_NO_CONTEXT) - return false;; + return false; } return true; diff --git a/gfx/drivers/drm_gfx.c b/gfx/drivers/drm_gfx.c index 00b7ad8192..9c23df3547 100644 --- a/gfx/drivers/drm_gfx.c +++ b/gfx/drivers/drm_gfx.c @@ -509,7 +509,7 @@ static void drm_plane_setup(struct drm_surface *surface) * crtc_x and crtc_y are the position of the plane * pw and ph are the input size: the size of the area we read from the fb. */ uint32_t plane_flags = 0; - uint32_t plane_w = drm.current_mode->vdisplay * surface->aspect;; + uint32_t plane_w = drm.current_mode->vdisplay * surface->aspect; uint32_t plane_h = drm.current_mode->vdisplay; /* If we obtain a scaled image width that is bigger than the physical screen width, * then we keep the physical screen width as our maximun width. */ diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index d643932ed1..4f71c6b219 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -355,7 +355,7 @@ static void gfx_ctx_wl_check_window(void *data, bool *quit, *height = new_height; } - *quit = (bool)frontend_driver_get_signal_handler_state();; + *quit = (bool)frontend_driver_get_signal_handler_state(); } static bool gfx_ctx_wl_set_resize(void *data, unsigned width, unsigned height) diff --git a/gfx/drivers_font/gl_raster_font.c b/gfx/drivers_font/gl_raster_font.c index 4bfdee78f1..d7da894cdd 100644 --- a/gfx/drivers_font/gl_raster_font.c +++ b/gfx/drivers_font/gl_raster_font.c @@ -174,8 +174,8 @@ static void *gl_raster_font_init_font(void *data, glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); atlas = font->font_driver->get_atlas(font->font_data); - font->tex_width = next_pow2(atlas->width);; - font->tex_height = next_pow2(atlas->height);; + font->tex_width = next_pow2(atlas->width); + font->tex_height = next_pow2(atlas->height); if (!gl_raster_font_upload_atlas(font, atlas, font->tex_width, font->tex_height)) diff --git a/input/drivers/gx_input.c b/input/drivers/gx_input.c index 6962795464..1c36ec9c9d 100644 --- a/input/drivers/gx_input.c +++ b/input/drivers/gx_input.c @@ -50,7 +50,7 @@ static int16_t gx_input_state(void *data, const struct retro_keybind **binds, switch (device) { case RETRO_DEVICE_JOYPAD: - return input_joypad_pressed(gx->joypad, port, binds[port], id);; + return input_joypad_pressed(gx->joypad, port, binds[port], id); case RETRO_DEVICE_ANALOG: return input_joypad_analog(gx->joypad, port, idx, id, binds[port]); }