Hi,
I see naddy@ already commited a fix for this from NetBSD. Thank
you!
My patch fwiw was to cast second arg to std::max() to long.
$OpenBSD$
--- src/Toolbar.cc.orig Sat Aug 17 16:58:14 2013
+++ src/Toolbar.cc Sat Aug 17 17:08:12 2013
@@ -44,7 +44,7 @@ long nextTimeout(int resolution)
{
timeval now;
gettimeofday(&now, 0);
- return (std::max(1000l, ((((resolution - (now.tv_sec % resolution)) * 1000l))
+ return (std::max(1000l, (long)((((resolution - (now.tv_sec %
resolution)) * 1000l))
- (now.tv_usec / 1000l))));
}
anyway, while on topic of x11/blackbox, i posted a patch on July 9th
to fix title bar issue with UTF8 sequence. See details in my original
post:
http://marc.info/?l=openbsd-ports&m=137339931231574&w=2
Can I ask someone to review/commit this patch as well?
Cheers,
--patrick