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
5454
5555 fputs( prompt, stdout );
5656
57− result = fgets( buf, CONSOLE_INPUT_BUFFER_SIZE, stdin );
57+ result = fgets( buf, CONSOLE_INPUT_BUFFER_SIZE, stdin );
5858
59− if( result == NULL )
60− {
61− free( buf );
62− return NULL;
63− }
59+ if( result == NULL )
60+ {
61+ free( buf );
62+ return NULL;
63+ }
6464
65− for( int i=0; i < CONSOLE_INPUT_BUFFER_SIZE; i++ )
66− if(buf[i] == '\n' )
67− {
68− buf[i] = 0;
69− break;
70− }
65+ for( int i=0; i < CONSOLE_INPUT_BUFFER_SIZE; i++ )
66+ if(buf[i] == '\n' )
67+ {
68+ buf[i] = 0;
69+ break;
70+ }
7171
72− return buf;
72+ return buf;
7373
7474 #endif
7575 }
@@ -78,11 +78,11 @@ void io_addhistory( const char * addme ) · 2 unmodified lines
7878 {
7979 #ifdef __USE_READLINE__
8080
81− add_history( addme );
81+ add_history( addme );
8282
8383 #else
8484
85− //do nothing
85+ //do nothing
8686
8787 #endif
8888 }

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