15 |
|
#include <fts.h> |
16 |
|
} |
17 |
|
|
18 |
< |
int main(int argc, char* argv[]) |
18 |
> |
#include <menes-api/exename.hpp> |
19 |
> |
#include <menes-app/simple.hpp> |
20 |
> |
|
21 |
> |
int Main(const app::Options& options) |
22 |
|
{ |
23 |
< |
FeepingCreaturism::program = argv[0]; |
23 |
> |
FeepingCreaturism::program = api::GetExecutablePath().GetName(); |
24 |
|
|
25 |
|
FeepingCreaturism creaturism; |
26 |
|
|
65 |
|
std::transform(one.begin(), one.end(), one_.begin(), ::tolower); |
66 |
|
std::transform(two.begin(), two.end(), two_.begin(), ::tolower); |
67 |
|
|
68 |
+ |
if (one_ == two_) return one < two; |
69 |
+ |
|
70 |
|
return one_ < two_; |
71 |
|
} |
72 |
|
|