Compare commits
No commits in common. "e4dfffa315f119af782657be3e5024e3d7e1a734" and "29c6b66b17d108ac42f9325d6388cfca494ddfd4" have entirely different histories.
e4dfffa315
...
29c6b66b17
@ -1,12 +0,0 @@
|
|||||||
cmd_numbered(text, args)
|
|
||||||
{
|
|
||||||
if ([text + LOCATION_LENGTH] == 0)
|
|
||||||
{
|
|
||||||
putstr("Empty buffer\n");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
putnum([text + LOCATION_CURRENT_LINE] + 1);
|
|
||||||
putchar('\t');
|
|
||||||
putstr([[text + LOCATION_ARRAY] + [text + LOCATION_CURRENT_LINE]]);
|
|
||||||
putchar('\n');
|
|
||||||
}
|
|
@ -2,7 +2,7 @@ cmd_print(text, args)
|
|||||||
{
|
{
|
||||||
if ([text + LOCATION_LENGTH] == 0)
|
if ([text + LOCATION_LENGTH] == 0)
|
||||||
{
|
{
|
||||||
putstr("Empty buffer\n");
|
putstr("Empty file\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
putstr([[text + LOCATION_ARRAY] + [text + LOCATION_CURRENT_LINE]]);
|
putstr([[text + LOCATION_ARRAY] + [text + LOCATION_CURRENT_LINE]]);
|
||||||
|
Loading…
Reference in New Issue
Block a user