diff options
author | simonb <simonb> | 2006-05-07 10:08:25 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-05-07 10:08:25 (GMT) |
commit | faf043bef92338fe976e639e94d309764065b8b7 (patch) | |
tree | 6554ea89ff6064465bd605da8f640ee43212b356 /src/WinClientUtil.cc | |
parent | ac098b4d0f0640b2997ff674a5c1b3447b6ba09a (diff) | |
download | fluxbox-faf043bef92338fe976e639e94d309764065b8b7.zip fluxbox-faf043bef92338fe976e639e94d309764065b8b7.tar.bz2 |
more utf8 changes, notably window titles
Diffstat (limited to 'src/WinClientUtil.cc')
-rw-r--r-- | src/WinClientUtil.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WinClientUtil.cc b/src/WinClientUtil.cc index 112360d..a6460a2 100644 --- a/src/WinClientUtil.cc +++ b/src/WinClientUtil.cc | |||
@@ -9,8 +9,8 @@ void maxSize(const FluxboxWindow::ClientList &clients, | |||
9 | unsigned int &max_width, unsigned int &max_height) { | 9 | unsigned int &max_width, unsigned int &max_height) { |
10 | FluxboxWindow::ClientList::const_iterator it = clients.begin(); | 10 | FluxboxWindow::ClientList::const_iterator it = clients.begin(); |
11 | FluxboxWindow::ClientList::const_iterator it_end = clients.end(); | 11 | FluxboxWindow::ClientList::const_iterator it_end = clients.end(); |
12 | max_width = ~0; // unlimited | 12 | max_width = (unsigned int) ~0; // unlimited |
13 | max_height = ~0; // unlimited | 13 | max_height = (unsigned int) ~0; // unlimited |
14 | for (; it != it_end; ++it) { | 14 | for (; it != it_end; ++it) { |
15 | // special case for max height/width == 0 | 15 | // special case for max height/width == 0 |
16 | // 0 indicates unlimited size, so we skip them | 16 | // 0 indicates unlimited size, so we skip them |
@@ -21,9 +21,9 @@ void maxSize(const FluxboxWindow::ClientList &clients, | |||
21 | max_width = std::min( (*it)->maxWidth(), max_width ); | 21 | max_width = std::min( (*it)->maxWidth(), max_width ); |
22 | } | 22 | } |
23 | 23 | ||
24 | if (max_width == ~0) | 24 | if (max_width == (unsigned int) ~0) |
25 | max_width = 0; | 25 | max_width = 0; |
26 | if (max_height == ~0) | 26 | if (max_height == (unsigned int) ~0) |
27 | max_height = 0; | 27 | max_height = 0; |
28 | } | 28 | } |
29 | 29 | ||