all repos — fluxbox @ bfa0659ad779bbe2149db6259dab1db6513d4e50

custom fork of the fluxbox windowmanager

moved StringUtil include
fluxgen fluxgen
commit

bfa0659ad779bbe2149db6259dab1db6513d4e50

parent

9068d6925f2061f8f5040c27e45747d02bc99dee

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/Font.ccsrc/Font.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -//$Id: Font.cc,v 1.9 2002/08/20 15:19:25 fluxgen Exp $ +//$Id: Font.cc,v 1.10 2002/09/03 12:05:01 fluxgen Exp $ #include "Font.hh"

@@ -47,6 +47,8 @@

#ifdef HAVE_SETLOCALE #include <locale.h> #endif //HAVE_SETLOCALE + +#include "StringUtil.hh" namespace FbTk {

@@ -219,7 +221,7 @@ va_start(va, bufsiz);

buf[bufsiz-1] = 0; buf[bufsiz-2] = '*'; while((v = va_arg(va, char *)) != 0) { - p = strcasestr(pattern, v); + p = StringUtil::strcasestr(pattern, v); if (p) { std::strncpy(buf, p+1, bufsiz-2); p2 = strchr(buf, '-');