Renamed every 'str' fiend and variable to 's'. Implemented edit_init.
This commit is contained in:
@@ -51,7 +51,7 @@ int main(void) {
|
||||
TEST(scan_str("a").width == 1);
|
||||
TEST(scan_str("äß\no").width == 2);
|
||||
|
||||
struct line ln = {.str = "foo\nbar"};
|
||||
struct line ln = {.s = "foo\nbar"};
|
||||
TEST(next_line(&ln) == true);
|
||||
TEST(!memcmp(ln.line, "foo", ln.size));
|
||||
TEST(next_line(&ln) == true);
|
||||
|
||||
Reference in New Issue
Block a user