Sadge
This commit is contained in:
parent
005b97703b
commit
1afeaff567
@ -156,6 +156,22 @@ int search_right(int x, int y, char chars[140][141])
|
|||||||
|
|
||||||
void get_string(int x, int y, char chars[140][141], struct HashTable *table)
|
void get_string(int x, int y, char chars[140][141], struct HashTable *table)
|
||||||
{
|
{
|
||||||
|
if (x < 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (x > 140)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (y < 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (y > 141)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
// printf("%c", chars[x][y]);
|
// printf("%c", chars[x][y]);
|
||||||
// char *cur_char = (char *)chars[x][y];
|
// char *cur_char = (char *)chars[x][y];
|
||||||
// long int num = char_to_int(cur_char);
|
// long int num = char_to_int(cur_char);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user