History

removed tabs from .cpp files

nshaheed committed 4 years ago

Commit 6c04f091 parent 1dacb5220 files · +337 −339Browse files

Showing the changes to src/core/util_console.cpp (1 of 20 files). Show all

Unified · Split

src/core/util_console.cpp+15−15
@@ -54,22 +54,22 @@ char * io_readline( const char * prompt ) · 53 unmodified lines
54 54
55 fputs( prompt, stdout );55 fputs( prompt, stdout );
56 56
57 result = fgets( buf, CONSOLE_INPUT_BUFFER_SIZE, stdin );57 result = fgets( buf, CONSOLE_INPUT_BUFFER_SIZE, stdin );
58 58
59 if( result == NULL )59 if( result == NULL )
60 {60 {
61 free( buf );61 free( buf );
62 return NULL;62 return NULL;
63 }63 }
64 64
65 for( int i=0; i < CONSOLE_INPUT_BUFFER_SIZE; i++ )65 for( int i=0; i < CONSOLE_INPUT_BUFFER_SIZE; i++ )
66 if(buf[i] == '\n' )66 if(buf[i] == '\n' )
67 {67 {
68 buf[i] = 0;68 buf[i] = 0;
69 break;69 break;
70 }70 }
71 71
72 return buf;72 return buf;
73 73
74#endif74#endif
75}75}
@@ -78,11 +78,11 @@ void io_addhistory( const char * addme ) · 2 unmodified lines
78{78{
79#ifdef __USE_READLINE__79#ifdef __USE_READLINE__
80 80
81 add_history( addme );81 add_history( addme );
82 82
83#else83#else
84 84
85 //do nothing85 //do nothing
86 86
87#endif87#endif
88}88}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t