Mikkel Hjortshoej 5 years ago
parent
commit
d749f5c704
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/log/file_console_logger.odin

+ 1 - 1
core/log/file_console_logger.odin

@@ -135,7 +135,7 @@ do_location_header :: proc(opts: Options, buf: ^strings.Builder, location := #ca
 	}
 	}
 
 
 	if .Procedure in opts {
 	if .Procedure in opts {
-		if (Location_File_Opts | {.Procedure}) & opts != nil {
+		if (Location_File_Opts | {.Line}) & opts != nil {
 			fmt.sbprint(buf, ":");
 			fmt.sbprint(buf, ":");
 		}
 		}
 		fmt.sbprintf(buf, "%s()", location.procedure);
 		fmt.sbprintf(buf, "%s()", location.procedure);