Skip to content

Commit f9940f6

Browse files
author
Progyan Bhattacharya
committed
Coding Style: Change Function Name to Lower Camelcase
Fixed inconsistency in whitespace and tabs in Makefile. Fixes: BytesClub#36 Signed-off-by: Progyan Bhattacharya <[email protected]>
1 parent b507f05 commit f9940f6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#################################
2-
# Makefile #
2+
# Makefile #
33
# Build Recipie for Executable #
4-
# #
4+
# #
55
# Author: Progyan Bhattacharya #
6-
# Maintainer: Bytes Club #
6+
# Maintainer: Bytes Club #
77
#################################
88

99
# Define Compiler

inc/chalk.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void enableRawMode(void);
102102
int editorReadKey(void);
103103

104104
// Row Operation
105-
void appendrow(char*, int);
105+
void appendRow(char*, int);
106106

107107
// File I/O
108108
void openEditor(char*);

src/editor.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
extern struct editorConfi E;
1111

1212
// row operations
13-
void appendrow(char *c, int l)
13+
void appendRow(char *c, int l)
1414
{
1515
E.row = realloc(E.row, sizeof(erow) * (E.no_row + 1));
1616

@@ -37,7 +37,7 @@ void openEditor(char *fname)
3737
while (linelen > 0 && (val[linelen - 1] == '\n' || val[linelen - 1] == '\r'))
3838
linelen--;
3939

40-
appendrow(val, linelen);
40+
appendRow(val, linelen);
4141
}
4242
free(val);
4343
fclose(f);

0 commit comments

Comments
 (0)