1
0
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:
dan
1999-09-17 16:18:37 +00:00
parent a66bff850c
commit ac64e68fcb
6 changed files with 135 additions and 6 deletions

View File

@@ -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);
}