Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
448a621c
Commit
448a621c
authored
Apr 29, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed timer setting in remove_target_tasks.
parent
41603e00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
task.c
dlls/mshtml/task.c
+3
-1
No files found.
dlls/mshtml/task.c
View file @
448a621c
...
@@ -128,8 +128,10 @@ void remove_target_tasks(LONG target)
...
@@ -128,8 +128,10 @@ void remove_target_tasks(LONG target)
}
}
if
(
!
list_empty
(
&
thread_data
->
timer_list
))
{
if
(
!
list_empty
(
&
thread_data
->
timer_list
))
{
DWORD
tc
=
GetTickCount
();
timer
=
LIST_ENTRY
(
list_head
(
&
thread_data
->
timer_list
),
task_timer_t
,
entry
);
timer
=
LIST_ENTRY
(
list_head
(
&
thread_data
->
timer_list
),
task_timer_t
,
entry
);
SetTimer
(
thread_data
->
thread_hwnd
,
TIMER_ID
,
timer
->
time
-
GetTickCount
(
),
NULL
);
SetTimer
(
thread_data
->
thread_hwnd
,
TIMER_ID
,
max
(
(
int
)(
timer
->
time
-
tc
),
0
),
NULL
);
}
}
while
(
thread_data
->
task_queue_head
&&
thread_data
->
task_queue_head
->
target_magic
==
target
)
{
while
(
thread_data
->
task_queue_head
&&
thread_data
->
task_queue_head
->
target_magic
==
target
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment