[Freeciv-tickets] [freeciv] #45744: sdl2: redraw_vert() / redraw_horiz() unnecessary SDL_Rect copy

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Jan 30 07:05:37 JST 2023


#45744: sdl2: redraw_vert() / redraw_horiz() unnecessary SDL_Rect copy

  Open Date: 2022-09-30 02:24
Last Update: 2023-01-30 00:05

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/45744
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45744

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-01-30 00:05 Updated by: cazfi
 * Milestone Update from 3.0.6 to 3.0.7


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: 3.0.7
     Component: SDL2-client
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

sdl2-client widget_scrollbar.c redraw_..() functions get SDL_Rect pointer as a parameter, copy SDL_Rect from it, and pass some (const) values from it to functions called. The copy serves no purpose, as the values could as well be used from the original.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/45744
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45744



More information about the Freeciv-tickets mailing list
Back to archive index