From d6945571ad745e12952e4b824f591864f190934e Mon Sep 17 00:00:00 2001 From: Ben Hoyt Date: Thu, 12 Mar 2015 16:32:41 -0400 Subject: [PATCH] fix links, fix langs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 458541b..794476f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ To use it, just give `ini_parse()` an INI file, and it will call a callback for every `name=value` pair parsed, giving you strings for the section, name, and value. It's done this way because it works well on low-memory embedded systems, but also because it makes for a KISS implementation. -[Download inih now](http://code.google.com/p/inih/downloads/list), browse [the source](http://code.google.com/p/inih/source/browse/trunk/ini.c), or read about [how to use inih in a DRY style](http://blog.brush.co.nz/2009/08/xmacros/) with X-Macros. +Download a release, browse the source, or read about [how to use inih in a DRY style](http://blog.brush.co.nz/2009/08/xmacros/) with X-Macros. ## Compile-time options ## @@ -16,7 +16,7 @@ To use it, just give `ini_parse()` an INI file, and it will call a callback for ## Simple example in C ## -``` +```c #include #include #include @@ -66,7 +66,7 @@ int main(int argc, char* argv[]) If you're into C++ and the STL, there is also an easy-to-use [INIReader class](http://code.google.com/p/inih/source/browse/trunk/cpp/INIReader.h) that stores values in a `map` and lets you `Get()` them: -``` +```cpp #include #include "INIReader.h"