app: in GimpDashboard, fix CPU-usage sampling on Windows

Thanks, Partha!
This commit is contained in:
Ell 2018-01-20 18:05:51 -05:00
parent 567ff4e136
commit 4d3720baad
1 changed files with 1 additions and 1 deletions

View File

@ -1556,7 +1556,7 @@ gimp_dashboard_sample_cpu_usage (GimpDashboard *dashboard,
if (! GetProcessTimes (GetCurrentProcess (),
&process_creation_time,
&process_exit_time,
&process_system_time,
&process_kernel_time,
&process_user_time))
{
prev_time = 0;