fix improper markdown code block indenting
As per the TODO: - [ ] Verify the markdown code blocks are properly indented ```sh find . -name '*.md' ! -name markdown.md -print0 | xargs -0 pcregrep -M '^``.*\n[^|`\n \t]' ``` Fixed `1998/dorssel/dorssel.md` and `thanks-for-help.md`. Performed `make quick_www` to process the above.
This commit is contained in:
1 parent
06d81a273e
commit
2ef3d9f1ce
4 files changed
+36
-34
No files matched your search
+14
-12
@@ -143,7 +143,7 @@ Cody later discovered that the `make alt` rule does not work as the
|
||||
To see the diff between the original and the alternate code, try:
|
||||
|
||||
``` <!--sh-->
|
||||
cd 1984/decot ; make diff_orig_alt
|
||||
cd 1984/decot ; make diff_orig_alt
|
||||
```
|
||||
|
||||
Jump to: [top](#)
|
||||
@@ -3674,19 +3674,21 @@ changed. As was noted in the log at the time:
|
||||
> (but obviously it's a terrible idea) to redefine main() (!!) so that any
|
||||
> program that uses SDL1 has to have the same args as their definition.
|
||||
> This program had 'main()' so the error message was:
|
||||
|
||||
``` <!---c-->
|
||||
thadgavin.c:60:1: error: conflicting types for 'SDL_main'
|
||||
main()
|
||||
^
|
||||
/opt/local/include/SDL/SDL_main.h:34:14: note: expanded from macro 'main'
|
||||
#define main SDL_main
|
||||
^
|
||||
/opt/local/include/SDL/SDL_main.h:35:12: note: previous declaration is here
|
||||
extern int SDL_main(int argc, char *argv[]);
|
||||
^
|
||||
1 warning and 1 error generated.
|
||||
make: *** [thadgavin_sdl] Error 1
|
||||
thadgavin.c:60:1: error: conflicting types for 'SDL_main'
|
||||
main()
|
||||
^
|
||||
/opt/local/include/SDL/SDL_main.h:34:14: note: expanded from macro 'main'
|
||||
#define main SDL_main
|
||||
^
|
||||
/opt/local/include/SDL/SDL_main.h:35:12: note: previous declaration is here
|
||||
extern int SDL_main(int argc, char *argv[]);
|
||||
^
|
||||
1 warning and 1 error generated.
|
||||
make: *** [thadgavin_sdl] Error 1
|
||||
```
|
||||
|
||||
>
|
||||
> Thus `main()` was changed to `int main(int argc, char **argv)`.
|
||||
|
||||
|
||||
Reference in new issue
Block a user