diff options
author | Adam Bard <github@adambard.com> | 2016-06-07 21:29:37 -0700 |
---|---|---|
committer | Adam Bard <github@adambard.com> | 2016-06-07 21:29:37 -0700 |
commit | 30c8d8819aebfaf533765546a44e3012074fa2d3 (patch) | |
tree | 4dc00227fecf5f0795d2b558d6d2c0d6e47cf785 | |
parent | 9ad088859e21f590f282418e33dd82a72fc825ad (diff) | |
parent | c450701b46fdbed9f51d2776cab2462021c13d87 (diff) |
Merge pull request #2273 from felipemfp/patch-1
[c++/pt-br] Fix some typos
-rw-r--r-- | pt-br/c++-pt.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pt-br/c++-pt.html.markdown b/pt-br/c++-pt.html.markdown index 31a3110c..e2e95268 100644 --- a/pt-br/c++-pt.html.markdown +++ b/pt-br/c++-pt.html.markdown @@ -490,7 +490,7 @@ bool doSomethingWithAFile(const char* filename) { FILE* fh = fopen(filename, "r"); // Abra o arquivo em modo de leitura if (fh == nullptr) // O ponteiro retornado é nulo em caso de falha. - reuturn false; // Relate o fracasso para o chamador. + return false; // Relate o fracasso para o chamador. // Suponha cada função retorne false, se falhar if (!doSomethingWithTheFile(fh)) { @@ -511,7 +511,7 @@ bool doSomethingWithAFile(const char* filename) { FILE* fh = fopen(filename, "r"); if (fh == nullptr) - reuturn false; + return false; if (!doSomethingWithTheFile(fh)) goto failure; |