fixed typos
This commit is contained in:
parent
15d0f7b7e3
commit
294c7f8198
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
|
@ -93,7 +93,7 @@ int main() {
|
||||||
|
|
||||||
filename+=path;
|
filename+=path;
|
||||||
ifstream ifs;
|
ifstream ifs;
|
||||||
//HTTP file-or-directory check:
|
//A simple platform-independent file-or-directory check do not exist, but this works in most of the cases:
|
||||||
if(filename.find('.')!=string::npos) {
|
if(filename.find('.')!=string::npos) {
|
||||||
ifs.open(filename, ifstream::in);
|
ifs.open(filename, ifstream::in);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue