all repos — fluxbox @ fde16eeea10b28f730d79e0f31b042ba955f7ed2

custom fork of the fluxbox windowmanager

removed StringUtil dep
fluxgen fluxgen
commit

fde16eeea10b28f730d79e0f31b042ba955f7ed2

parent

f887a409e48bcfc5d337e776e83e4c1659f053a5

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

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

@@ -19,11 +19,10 @@ // 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.7 2002/08/04 15:36:19 fluxgen Exp $ +//$Id: Font.cc,v 1.8 2002/08/20 02:22:29 fluxgen Exp $ #include "Font.hh" -#include "StringUtil.hh" #ifdef HAVE_CONFIG_H #include "../config.h"

@@ -215,7 +214,7 @@ va_start(va, bufsiz);

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