mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
- Fixed compilation warnings.
- Readded 'Auto placement' mode, with the old behavior, and made 'Smart placement' mode behave in the new way. Auto and Smart are no longer aliases.
This commit is contained in:
@@ -1270,9 +1270,9 @@ typedef struct {
|
||||
|
||||
|
||||
static int
|
||||
myCompare(dir_data *d1, dir_data *d2)
|
||||
myCompare(const void *d1, const void *d2)
|
||||
{
|
||||
return strcmp(d1->name, d2->name);
|
||||
return strcmp(((dir_data*) d1)->name, ((dir_data*) d2)->name);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user