Added hash comments to DLC.txt
							parent
							
								
									35c59044fd
								
							
						
					
					
						commit
						b41517cd91
					
				| 
						 | 
					@ -215,13 +215,16 @@ Steam_Client::Steam_Client()
 | 
				
			||||||
            settings_server->unlockAllDLC(false);
 | 
					            settings_server->unlockAllDLC(false);
 | 
				
			||||||
            PRINT_DEBUG("Locking all DLC\n");
 | 
					            PRINT_DEBUG("Locking all DLC\n");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            for( std::string line; getline( input, line ); ) {
 | 
					            for( std::string line; std::getline( input, line ); ) {
 | 
				
			||||||
                if (!line.empty() && line[line.length()-1] == '\n') {
 | 
					                if (!line.empty() && line.front() == '#') {
 | 
				
			||||||
                    line.erase(line.length()-1);
 | 
					                    continue;
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                if (!line.empty() && line.back() == '\n') {
 | 
				
			||||||
 | 
					                    line.pop_back();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if (!line.empty() && line[line.length()-1] == '\r') {
 | 
					                if (!line.empty() && line.back() == '\r') {
 | 
				
			||||||
                    line.erase(line.length()-1);
 | 
					                    line.pop_back();
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                std::size_t deliminator = line.find("=");
 | 
					                std::size_t deliminator = line.find("=");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue