- Whilst this is non-standard and potentially makes the code less portable, it's supported by both gcc and msvc and should bringg increased compilation speed due to its optimized behaviour (doesn't need to invoke the preprocessor)
- Patch by Amine Khaldi [amine.khaldi@reactos.org]
svn path=/trunk/; revision=45685
modified base/applications/taskmgr/debug.c
modified base/applications/taskmgr/endproc.c
modified base/applications/taskmgr/priority.c
Arch Blackmann has never heard of exotic features of the C language such as "subroutines"
modified base/applications/taskmgr/dbgchnl.c
modified base/applications/taskmgr/procpage.c
modified base/applications/taskmgr/procpage.h
Did you know that Task Manager killed the wrong process when using the context menu? Fixed by using a sophisticated "subroutine" that reads the process entry index from the currently selected list item's client data, replacing the copy-pasted code that used the index of the list entry as the process entry index (which only worked before due to no sorting)
Save the sort column and order
modified base/applications/taskmgr/taskmgr.c
Sort by image name by default
svn path=/trunk/; revision=41664