소스 검색

* Use ContextNote in sdprintf()

Bryan Drewery 16 년 전
부모
커밋
5d5e40e10a
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/debug.c

+ 1 - 2
src/debug.c

@@ -104,8 +104,7 @@ void sdprintf (const char *format, ...)
 
   remove_crlf(s);
 
-  simple_snprintf(get_buf[current_get_buf], sizeof(get_buf[current_get_buf]), "dbg: %s", s);
-  get_buf_inc();
+  ContextNote("dbg", s);
 
 #ifdef DEBUG
   if (sdebug) {