Changeset 2421 in MondoRescue for branches/2.2.10/mondo/src/common/newt-specific.c
- Timestamp:
- Sep 24, 2009, 3:50:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/common/newt-specific.c
r2414 r2421 96 96 extern int g_current_media_number; 97 97 pid_t g_main_pid = 0; ///< The PID of the main Mondo process. 98 long g_maximum_progress = 999 ; ///< The maximum amount of progress (100%) for the currently opened progress form.98 long g_maximum_progress = 999L; ///< The maximum amount of progress (100%) for the currently opened progress form. 99 99 long g_current_progress = -999; ///< The current amount of progress (filelist #, etc.) for the currently opened progress form. 100 100 long g_start_time = 0L; ///< The time (in seconds since the epoch) that the progress form was opened. … … 644 644 g_blurb3 = newtLabel(2, 4, blurb2); 645 645 newtCenteredWindow(60, 11, title); 646 g_scale = newtScale(3, 6, 54, g_maximum_progress);646 g_scale = newtScale(3, 6, 54, (long long)g_maximum_progress); 647 647 g_progressForm = newtForm(NULL, NULL, 0); 648 648 g_percentline = newtLabel(10, 9, "This is the percentline");
Note:
See TracChangeset
for help on using the changeset viewer.