mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2025-02-23 20:21:32 +00:00
Warning removed last?
This commit is contained in:
parent
48bf1303c5
commit
4f57e94d05
1 changed files with 1 additions and 0 deletions
|
@ -3436,6 +3436,7 @@ static void Scroll_ListBox_ThumbFunc(void *p)
|
|||
//vectors?
|
||||
if (r.hasVectors) {
|
||||
float pt[2];
|
||||
Vector2Set(pt, 0.f, 0.f); // fix bogus compiler warning :(
|
||||
//Makro - FIXME!!!
|
||||
Rect_ToInnerCoords(&si->item->window.rect, DC->cursorx, DC->cursory, &pt[0], NULL);
|
||||
pt[1] = (pt[0] - SCROLLBAR_SIZE / 2 - SCROLLBAR_SIZE - 1) / (si->item->window.rect.w - 3 * SCROLLBAR_SIZE - 2);
|
||||
|
|
Loading…
Reference in a new issue