fix module list format

This commit is contained in:
lyon 2023-10-15 16:08:03 +08:00
parent 40e63ddfbf
commit 7ed51509ec
3 changed files with 3 additions and 3 deletions

View File

@ -1156,7 +1156,7 @@ PIKA_RES pikaMaker_compileModuleWithList(PikaMaker* self, char* list_content) {
char* module_name = NULL; char* module_name = NULL;
char* module_name_start = list_content; char* module_name_start = list_content;
char* module_name_end = NULL; char* module_name_end = NULL;
pika_platform_printf(" <module list>\n"); pika_platform_printf(" <module list>\r\n");
while (1) { while (1) {
module_name_end = strFind(module_name_start, '\n'); module_name_end = strFind(module_name_start, '\n');
if (NULL == module_name_end) { if (NULL == module_name_end) {

View File

@ -2,4 +2,4 @@
#define PIKA_VERSION_MINOR 12 #define PIKA_VERSION_MINOR 12
#define PIKA_VERSION_MICRO 6 #define PIKA_VERSION_MICRO 6
#define PIKA_EDIT_TIME "2023/10/09 21:25:14" #define PIKA_EDIT_TIME "2023/10/15 16:07:56"

View File

@ -29,7 +29,7 @@ impl VersionInfo {
/* print the package info */ /* print the package info */
if self.plot { if self.plot {
// print line with \r\n // print line with \r\n
print!("{}{}", line, "\r\n"); print!(" {}{}", line, "\r\n");
} }
// Check if line contains '=' // Check if line contains '='