X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=state.c;h=3c87f3c11df5248c524d1f58439e450ab52f5800;hp=ca73d4ab6692ca1dab02d8ac1aca4f1c13565ac8;hb=9274cbe8e6410ddb95ddc667faa678a29da85420;hpb=5e53f9e5f65aa5b3af6f5af9d868403536534afb diff --git a/state.c b/state.c index ca73d4a..3c87f3c 100644 --- a/state.c +++ b/state.c @@ -70,7 +70,7 @@ void state_prefix_putc (char c, STATE * s) if (s->flags & M_PENDINGPREFIX) { int i; - i = str_len (Quotebuf); + i = m_strlen(Quotebuf); Quotebuf[i++] = c; Quotebuf[i] = '\0'; if (i == sizeof (Quotebuf) - 1 || c == '\n') { @@ -102,11 +102,11 @@ void state_prefix_putc (char c, STATE * s) snprintf (buf, sizeof (buf), "%s%s", NONULL (s->prefix), Quotebuf); #ifdef DEBUG - if (str_len (buf) >= 2) { - save = buf[str_len (buf) - 1]; - buf[str_len (buf) - 1] = '\0'; + if (m_strlen(buf) >= 2) { + save = buf[m_strlen(buf) - 1]; + buf[m_strlen(buf) - 1] = '\0'; debug_print (2, ("buf = '%s'\n", buf)); - buf[str_len (buf)] = save; + buf[m_strlen(buf)] = save; } #endif